]> Git Repo - VerusCoin.git/blob - depends/packages/libsnark.mk
Auto merge of #1086 - zcash:daira-simplify-readme-title, r=bitcartel
[VerusCoin.git] / depends / packages / libsnark.mk
1 package=libsnark
2 $(package)_version=0.1
3 $(package)_download_path=https://github.com/zcash/$(package)/archive/
4 $(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
5 $(package)_download_file=$($(package)_git_commit).tar.gz
6 $(package)_sha256_hash=369fe9f5a8018eb46cce3cf50bfbf21419d8e963b25067ffd00cb9ac5c39f649
7 $(package)_git_commit=11242d8afe304c8bcc252baec483f04a110d1dd4
8
9 $(package)_dependencies=libgmp libsodium
10
11 define $(package)_build_cmds
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
13 endef
14
15 define $(package)_stage_cmds
16   $(MAKE) install STATIC=1 DEPINST=$(host_prefix) PREFIX=$($(package)_staging_dir)$(host_prefix) CURVE=ALT_BN128 NO_SUPERCOP=1
17 endef
This page took 0.024087 seconds and 4 git commands to generate.