Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Disable libsodium HAVE_TI_MODE for now.



details:   https://anonhg.NetBSD.org/src/rev/b89db7152042
branches:  trunk
changeset: 1013122:b89db7152042
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Aug 21 06:37:30 2020 +0000

description:
Disable libsodium HAVE_TI_MODE for now.

This may reduce performance by not taking advantage of 64x64->128
multiplications on some platforms, but let's worry about that later
and fix the build on the other platforms instead.

diffstat:

 sys/external/isc/libsodium/conf/files.libsodium |  4 ++--
 sys/rump/kern/lib/libcrypto/Makefile            |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 1c0b81766f67 -r b89db7152042 sys/external/isc/libsodium/conf/files.libsodium
--- a/sys/external/isc/libsodium/conf/files.libsodium   Fri Aug 21 06:30:46 2020 +0000
+++ b/sys/external/isc/libsodium/conf/files.libsodium   Fri Aug 21 06:37:30 2020 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: files.libsodium,v 1.3 2020/08/21 06:30:46 riastradh Exp $
+#      $NetBSD: files.libsodium,v 1.4 2020/08/21 06:37:30 riastradh Exp $
 
 define         libsodium
 
 makeoptions libsodium SODIUM_CPPFLAGS+="-I$S/external/isc/libsodium/include"
 makeoptions libsodium SODIUM_CPPFLAGS+="-I$S/external/isc/libsodium/dist/src/libsodium/include/sodium"
 
-makeoptions libsodium SODIUM_CPPFLAGS+="-DHAVE_TI_MODE"
+#makeoptions libsodium SODIUM_CPPFLAGS+="-DHAVE_TI_MODE"
 
 makeoptions libsodium SODIUM_CPPFLAGS+="-Wno-shadow"
 makeoptions libsodium SODIUM_CPPFLAGS+="-Wno-unused-function"
diff -r 1c0b81766f67 -r b89db7152042 sys/rump/kern/lib/libcrypto/Makefile
--- a/sys/rump/kern/lib/libcrypto/Makefile      Fri Aug 21 06:30:46 2020 +0000
+++ b/sys/rump/kern/lib/libcrypto/Makefile      Fri Aug 21 06:37:30 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.18 2020/08/21 06:30:46 riastradh Exp $
+#      $NetBSD: Makefile,v 1.19 2020/08/21 06:37:30 riastradh Exp $
 #
 
 SODIUM_IMPORTDIR=${.CURDIR}/../../../../external/isc/libsodium
@@ -65,7 +65,7 @@
 SODIUM_CPPFLAGS+=      -I${SODIUM_IMPORTDIR}/include
 SODIUM_CPPFLAGS+=      -I${SODIUM_IMPORTDIR}/dist/src/libsodium/include/sodium
 
-SODIUM_CPPFLAGS+=      -DHAVE_TI_MODE
+#SODIUM_CPPFLAGS+=     -DHAVE_TI_MODE
 
 SODIUM_CPPFLAGS+=      -Wno-shadow
 SODIUM_CPPFLAGS+=      -Wno-unused-function



Home | Main Index | Thread Index | Old Index