pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libstark Use -fopenmp instead of hard-coding ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2ceb485de79d
branches: trunk
changeset: 406484:2ceb485de79d
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Dec 22 22:29:39 2019 +0000
description:
Use -fopenmp instead of hard-coding libgomp.
diffstat:
security/libstark/distinfo | 10 ++++---
security/libstark/patches/patch-algebra__algebralib-tests__Makefile | 10 +++---
security/libstark/patches/patch-libstark-tests__Makefile | 10 +++---
security/libstark/patches/patch-starkdpm_Makefile | 13 ++++++++++
security/libstark/patches/patch-tinyram__stark-tinyram-tests__Makefile | 10 +++---
security/libstark/patches/patch-tinyram_stark-tinyram_Makefile | 13 ++++++++++
6 files changed, 47 insertions(+), 19 deletions(-)
diffs (129 lines):
diff -r 8d015632af9a -r 2ceb485de79d security/libstark/distinfo
--- a/security/libstark/distinfo Sun Dec 22 22:28:54 2019 +0000
+++ b/security/libstark/distinfo Sun Dec 22 22:29:39 2019 +0000
@@ -1,13 +1,15 @@
-$NetBSD: distinfo,v 1.1 2019/10/28 17:46:58 agc Exp $
+$NetBSD: distinfo,v 1.2 2019/12/22 22:29:39 joerg Exp $
SHA1 (libstark-20191018-11c72adf909e259aa20a36317e22108784f6dd73.tar.gz) = 3e609b75229f80a18601728a2aabe575ba1fdae8
RMD160 (libstark-20191018-11c72adf909e259aa20a36317e22108784f6dd73.tar.gz) = 1567c6807ee15488452030ae2c5644e80c5309aa
SHA512 (libstark-20191018-11c72adf909e259aa20a36317e22108784f6dd73.tar.gz) =
049d0dc9605923f3975127528680a1e2d18c31eebd48aba95b3272d4ae95aec5833250c9094d491d8d8acbb02cc54332d2462203698c203bc42c6a8f72f8a1ad
Size (libstark-20191018-11c72adf909e259aa20a36317e22108784f6dd73.tar.gz) = 358152 bytes
-SHA1 (patch-algebra__algebralib-tests__Makefile) = 4bd9e24561ca3d9ea38b826be7d8639c94af2df1
+SHA1 (patch-algebra__algebralib-tests__Makefile) = e469a8a03fae847c49bf523dbd65a0d50798484c
SHA1 (patch-algebra__algebralib__src__ErrorHandling.cpp) = 3343a878efc35ee4001ffeea8e10bd9f02244863
-SHA1 (patch-libstark-tests__Makefile) = e389d5907c199dfabe2942751c853b89085c518c
+SHA1 (patch-libstark-tests__Makefile) = 70c4e50c0cea2890d1972c652c294a82658571e6
SHA1 (patch-libstark__src__common__Utils__ErrorHandling.cpp) = c3ee3bfbbe078b80ef81a2d9ff1a182a21088df0
SHA1 (patch-libstark__src__protocols__Ali__prover.cpp) = 68b1a7827c0a821bb4e5e2dcc5a37ffca7f06977
+SHA1 (patch-starkdpm_Makefile) = cf8b105b16d4fb2d4988ab028e4e8d0f1b7801dc
SHA1 (patch-tinyram__gadgetlib__gadgetlib__infrastructure.cpp) = 4d0f10b58e2cc4de0fe54add60f7490ea3d83872
-SHA1 (patch-tinyram__stark-tinyram-tests__Makefile) = dab5fcdcee388a8d8a0b1768841aa7e24ae1918a
+SHA1 (patch-tinyram__stark-tinyram-tests__Makefile) = 420e0906d6fb871704ccf5f7ab4ae23a1fb46667
+SHA1 (patch-tinyram_stark-tinyram_Makefile) = adf2a189ef3793dc38677414ca403848e723e32e
diff -r 8d015632af9a -r 2ceb485de79d security/libstark/patches/patch-algebra__algebralib-tests__Makefile
--- a/security/libstark/patches/patch-algebra__algebralib-tests__Makefile Sun Dec 22 22:28:54 2019 +0000
+++ b/security/libstark/patches/patch-algebra__algebralib-tests__Makefile Sun Dec 22 22:29:39 2019 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-algebra__algebralib-tests__Makefile,v 1.1 2019/10/28 17:46:58 agc Exp $
+$NetBSD: patch-algebra__algebralib-tests__Makefile,v 1.2 2019/12/22 22:29:39 joerg Exp $
Find gtest in appropriate place
---- algebra/algebralib-tests/Makefile 2019/10/19 04:42:41 1.1
-+++ algebra/algebralib-tests/Makefile 2019/10/19 04:43:13
-@@ -15,7 +15,7 @@
+--- algebra/algebralib-tests/Makefile.orig 2018-12-11 08:57:02.000000000 +0000
++++ algebra/algebralib-tests/Makefile
+@@ -15,7 +15,7 @@ LIBS= \
FFT
LIBFLAGS=$(addprefix -l, $(LIBS))
-LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -lgomp
-+LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L${PREFIX}/lib -lgomp
++LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L${PREFIX}/lib -fopenmp
TARGET=$(BLDDIR)/algebralib_tests
diff -r 8d015632af9a -r 2ceb485de79d security/libstark/patches/patch-libstark-tests__Makefile
--- a/security/libstark/patches/patch-libstark-tests__Makefile Sun Dec 22 22:28:54 2019 +0000
+++ b/security/libstark/patches/patch-libstark-tests__Makefile Sun Dec 22 22:29:39 2019 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-libstark-tests__Makefile,v 1.1 2019/10/28 17:46:58 agc Exp $
+$NetBSD: patch-libstark-tests__Makefile,v 1.2 2019/12/22 22:29:39 joerg Exp $
Find libgtest as well
---- libstark-tests/Makefile 2019/10/19 04:37:04 1.1
-+++ libstark-tests/Makefile 2019/10/19 04:37:45
-@@ -12,7 +12,7 @@
+--- libstark-tests/Makefile.orig 2018-12-11 08:57:02.000000000 +0000
++++ libstark-tests/Makefile
+@@ -12,7 +12,7 @@ LIBS= \
FFT
LIBFLAGS=$(addprefix -l, $(LIBS))
-LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(LIBSTARKLINKDIR)" -lgomp
-+LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(LIBSTARKLINKDIR)" -L${PREFIX}/lib -lgomp
++LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(LIBSTARKLINKDIR)" -L${PREFIX}/lib -fopenmp
SRCDIR = .
SRCEXT = cpp
diff -r 8d015632af9a -r 2ceb485de79d security/libstark/patches/patch-starkdpm_Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libstark/patches/patch-starkdpm_Makefile Sun Dec 22 22:29:39 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-starkdpm_Makefile,v 1.1 2019/12/22 22:29:39 joerg Exp $
+
+--- starkdpm/Makefile.orig 2019-12-22 19:03:01.535929982 +0000
++++ starkdpm/Makefile
+@@ -11,7 +11,7 @@ LIBS= \
+ FFT
+
+ LIBFLAGS=$(addprefix -l, $(LIBS))
+-LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(LIBSTARKLINKDIR)" -lgomp
++LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(LIBSTARKLINKDIR)" -fopenmp
+
+ SRCDIR = .
+ SRCEXT = cpp
diff -r 8d015632af9a -r 2ceb485de79d security/libstark/patches/patch-tinyram__stark-tinyram-tests__Makefile
--- a/security/libstark/patches/patch-tinyram__stark-tinyram-tests__Makefile Sun Dec 22 22:28:54 2019 +0000
+++ b/security/libstark/patches/patch-tinyram__stark-tinyram-tests__Makefile Sun Dec 22 22:29:39 2019 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-tinyram__stark-tinyram-tests__Makefile,v 1.1 2019/10/28 17:46:58 agc Exp $
+$NetBSD: patch-tinyram__stark-tinyram-tests__Makefile,v 1.2 2019/12/22 22:29:39 joerg Exp $
Find gtest lib in right place
---- tinyram/stark-tinyram-tests/Makefile 2019/10/19 04:45:20 1.1
-+++ tinyram/stark-tinyram-tests/Makefile 2019/10/19 04:45:42
-@@ -13,7 +13,7 @@
+--- tinyram/stark-tinyram-tests/Makefile.orig 2018-12-11 08:57:02.000000000 +0000
++++ tinyram/stark-tinyram-tests/Makefile
+@@ -13,7 +13,7 @@ LIBS= \
FFT
LIBFLAGS=$(addprefix -l, $(LIBS))
-LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(GADGET3LNKDIR)" -L"$(LIBSTARKLINKDIR)" -lgomp
-+LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(GADGET3LNKDIR)" -L"$(LIBSTARKLINKDIR)" -L${PREFIX}/lib -lgomp
++LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(GADGET3LNKDIR)" -L"$(LIBSTARKLINKDIR)" -L${PREFIX}/lib -fopenmp
SRCS:= $(shell ls *.cpp)
OBJS=$(addprefix $(BLDDIR)/, $(SRCS:.cpp=.o))
diff -r 8d015632af9a -r 2ceb485de79d security/libstark/patches/patch-tinyram_stark-tinyram_Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libstark/patches/patch-tinyram_stark-tinyram_Makefile Sun Dec 22 22:29:39 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-tinyram_stark-tinyram_Makefile,v 1.1 2019/12/22 22:29:39 joerg Exp $
+
+--- tinyram/stark-tinyram/Makefile.orig 2019-12-22 19:03:25.777546794 +0000
++++ tinyram/stark-tinyram/Makefile
+@@ -8,7 +8,7 @@ LIBS= \
+ FFT
+
+ LIBFLAGS=$(addprefix -l, $(LIBS))
+-LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(GADGET3LNKDIR)" -L"$(LIBSTARKLINKDIR)" -lgomp
++LNKFLAGS=-L"$(ALGEBRALNKDIR)" -L"$(FFTLIBLNKDIR)" -L"$(GADGET3LNKDIR)" -L"$(LIBSTARKLINKDIR)" -fopenmp
+
+ SRCDIR = src
+ SRCEXT = cpp
Home |
Main Index |
Thread Index |
Old Index