]> Git Repo - VerusCoin.git/blame - libsnark.mk.patch
fix
[VerusCoin.git] / libsnark.mk.patch
CommitLineData
21ecc387 1*** depends/packages/libsnark.mk 2017-01-03 10:53:52.440371182 +0000
2--- ../../komodo-jl777/depends/packages/libsnark.mk 2017-01-03 09:48:21.650035146 +0000
3***************
4*** 1,30 ****
5 package=libsnark
6 $(package)_version=0.1
7! $(package)_download_path=https://github.com/radix42/$(package)/archive/
8 $(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
9 $(package)_download_file=$($(package)_git_commit).tar.gz
10! $(package)_sha256_hash=9dbd5b44d3443e86463e934bfe1023cab4ca5948f8d74c23a67d9535c28d2584
11! $(package)_git_commit=9be18569b8abcda1245c3912877075259599c0f1
12
13 $(package)_dependencies=libgmp libsodium
14
15- ifeq ($(build_os),darwin)
16- define $(package)_build_cmds
17- CC=gcc-5 CXX=g++-5 CXXFLAGS="-arch x86_64 -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1" $(MAKE) lib DEPINST=$(host_prefix) CURVE=ALT_BN128 MULTICORE=0 NO_PROCPS=1 NO_GTEST=1 NO_DOCS=1 STATIC=1 NO_SUPERCOP=1 FEATUREFLAGS=-DMONTGOMERY_OUTPUT
18- endef
19- else
20 define $(package)_build_cmds
21 CXXFLAGS="-fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1" $(MAKE) lib DEPINST=$(host_prefix) CURVE=ALT_BN128 MULTICORE=1 NO_PROCPS=1 NO_GTEST=1 NO_DOCS=1 STATIC=1 NO_SUPERCOP=1 FEATUREFLAGS=-DMONTGOMERY_OUTPUT OPTFLAGS="-O2 -march=x86-64"
22 endef
23
24-
25-
26-
27- endif
28-
29-
30-
31-
32 define $(package)_stage_cmds
33 $(MAKE) install STATIC=1 DEPINST=$(host_prefix) PREFIX=$($(package)_staging_dir)$(host_prefix) CURVE=ALT_BN128 NO_SUPERCOP=1
34 endef
35--- 1,17 ----
36 package=libsnark
37 $(package)_version=0.1
38! $(package)_download_path=https://github.com/zcash/$(package)/archive/
39 $(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
40 $(package)_download_file=$($(package)_git_commit).tar.gz
41! $(package)_sha256_hash=9422b1a2a94e6b8be61f07af7f146087c2a7d70b208d07ad076622225aa7f0e4
42! $(package)_git_commit=2e6314a9f7efcd9af1c77669d7d9a229df86a777
43
44 $(package)_dependencies=libgmp libsodium
45
46 define $(package)_build_cmds
47 CXXFLAGS="-fPIC -DBINARY_OUTPUT -DNO_PT_COMPRESSION=1" $(MAKE) lib DEPINST=$(host_prefix) CURVE=ALT_BN128 MULTICORE=1 NO_PROCPS=1 NO_GTEST=1 NO_DOCS=1 STATIC=1 NO_SUPERCOP=1 FEATUREFLAGS=-DMONTGOMERY_OUTPUT OPTFLAGS="-O2 -march=x86-64"
48 endef
49
50 define $(package)_stage_cmds
51 $(MAKE) install STATIC=1 DEPINST=$(host_prefix) PREFIX=$($(package)_staging_dir)$(host_prefix) CURVE=ALT_BN128 NO_SUPERCOP=1
52 endef
This page took 0.027774 seconds and 4 git commands to generate.