Skip to content

Commit

Permalink
fixup! deps,src: use SIMD for normal base64 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Oct 24, 2022
1 parent 5554be3 commit 2a62dda
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions patches/node/build_add_gn_build_files.patch
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,10 @@ index 0000000000000000000000000000000000000000..db80a8f00a84bf54f723c21300e7579c
+}
diff --git a/deps/base64/BUILD.gn b/deps/base64/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..5a1a4b88856cb370bb9887f52f074f60b16ffefc
index 0000000000000000000000000000000000000000..cbc9503b5c3463b51643912069decce6eddfcdb8
--- /dev/null
+++ b/deps/base64/BUILD.gn
@@ -0,0 +1,204 @@
@@ -0,0 +1,208 @@
+config("base64_config") {
+ include_dirs = [
+ "base64/include",
Expand All @@ -475,7 +475,11 @@ index 0000000000000000000000000000000000000000..5a1a4b88856cb370bb9887f52f074f60
+ "base64/lib",
+ ]
+
+ cflags_c = [ "-Wno-implicit-fallthrough" ]
+ cflags_c = [
+ "-Wno-implicit-fallthrough",
+ "-Wno-unused-but-set-variable",
+ "-Wno-shadow",
+ ]
+
+ sources = [
+ "base64/include/libbase64.h",
Expand Down

0 comments on commit 2a62dda

Please sign in to comment.