]> Git Repo - VerusCoin.git/blame - depends/packages/libsnark.mk
Merge commit '51e448641d6cbcd582afa22cd8475f8c3086dad7' as 'src/snark'
[VerusCoin.git] / depends / packages / libsnark.mk
CommitLineData
c4da0970
NW
1package=libsnark
2$(package)_version=0.1
e9f9a73a 3$(package)_download_path=https://github.com/zcash/$(package)/archive/
c4da0970
NW
4$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
5$(package)_download_file=$($(package)_git_commit).tar.gz
69566ad7
SB
6$(package)_sha256_hash=dad153fe46e2e1f33557a195cbe7d69aed8b19ed9befc08ddcb8c6d3c025941f
7$(package)_git_commit=9ada3f84ab484c57b2247c2f41091fd6a0916573
c4da0970 8
e9f9a73a 9$(package)_dependencies=libgmp libsodium
c4da0970
NW
10
11define $(package)_build_cmds
da7bcff4 12 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"
c4da0970
NW
13endef
14
15define $(package)_stage_cmds
16 $(MAKE) install STATIC=1 DEPINST=$(host_prefix) PREFIX=$($(package)_staging_dir)$(host_prefix) CURVE=ALT_BN128 NO_SUPERCOP=1
17endef
This page took 0.066599 seconds and 4 git commands to generate.