Homu
961c0d58ec
Auto merge of #4060 - str4d:remove-libsnark, r=daira
...
Remove libsnark
Closes #167 . Closes #416 . Closes #418 . Closes #437 .
Closes #521 . Closes #743 . Closes #750 . Closes #894 .
Closes #903 . Closes #1125 . Closes #1136 . Closes #1240 .
Closes #1264 . Closes #1516 . Closes #1517 . Closes #1651 .
Closes #2064 . Closes #2158 . Closes #3478 . Closes #3652 .
Closes #3744 .
2019-09-26 11:21:40 -07:00
Daira Hopwood
1e11ffb6bb
make-release.py: Versioning changes for 2.0.7-3.
2019-09-24 20:58:26 +01:00
Eirik Ogilvie-Wigley
72d2ab918d
make-release.py: Versioning changes for 2.0.7-2.
2019-08-30 17:38:50 -06:00
Eirik Ogilvie-Wigley
c05652b8d9
make-release.py: Versioning changes for 2.0.7-1.
2019-08-29 12:58:35 -06:00
Jack Grigg
2a47986a00
Remove libgmp
2019-08-22 15:42:53 +01:00
Jack Grigg
6a4b8b7751
Remove libsnark from build system
2019-08-22 15:42:51 +01:00
Jack Grigg
7bd700b100
Revert "Check if OpenMP is available before using it"
...
This reverts commit daad2c2736
.
2019-08-22 15:42:50 +01:00
Jack Grigg
9a0e257526
Revert "configure: Guess -march for libsnark OPTFLAGS instead of hard-coding"
...
This reverts commit 98cfe4228c
.
2019-08-22 15:42:49 +01:00
Eirik Ogilvie-Wigley
93a03a1a20
make-release.py: Versioning changes for 2.0.7.
2019-08-19 14:36:31 -06:00
Eirik Ogilvie-Wigley
0b83bf493a
make-release.py: Versioning changes for 2.0.7-rc1.
2019-08-09 16:52:27 -06:00
Daira Hopwood
ef2dcbf1d4
make-release.py: Versioning changes for 2.0.6.
2019-06-19 00:27:11 +01:00
Daira Hopwood
f7a4aab352
make-release.py: Versioning changes for 2.0.6-rc1.
2019-06-12 16:32:57 +01:00
Eirik0
c34d253fa6
make-release.py: Versioning changes for 2.0.5-2.
2019-05-15 09:49:44 -06:00
Eirik0
f809ff997f
make-release.py: Versioning changes for 2.0.5-1.
2019-05-08 06:50:57 -06:00
Eirik0
c1daa11d7b
make-release.py: Versioning changes for 2.0.5.
2019-05-03 16:30:13 -06:00
Eirik0
6c47e6fe7b
make-release.py: Versioning changes for 2.0.5-rc1.
2019-05-01 14:15:14 -06:00
Homu
ab856294d9
Auto merge of #3505 - str4d:rust-targets, r=str4d
...
depends: Support additional cross-compilation targets in Rust
This will make it easier for third parties to cross-compile `zcashd` for other platforms. The third commit in this PR shows how to add a new target to the Rust dependency builder.
The default Rust target during cross-compilation is the canonical host, which is derived from `HOST` using `depends/config.sub`. If the canonical host differs from the required Rust target, add the necessary mapping in addition to the target itself.
Also includes fixes for cross-compiling aarch64 targets.
2019-04-23 08:33:40 -07:00
Homu
5eb7f89980
Auto merge of #3906 - sandakersmann:patch-1, r=str4d
...
Update _COPYRIGHT_YEAR in configure.ac to 2019
Update _COPYRIGHT_YEAR in configure.ac to 2019
2019-04-09 08:45:30 -07:00
Simon
108dc2df95
make-release.py: Versioning changes for 2.0.4.
2019-03-26 11:25:19 -07:00
Taylor Hornby
8088476911
Fix proton patch regression. #3916
2019-03-25 11:46:37 -06:00
Marius Kjærstad
361647d8da
Update _COPYRIGHT_YEAR in configure.ac to 2019
...
Update _COPYRIGHT_YEAR in configure.ac to 2019
2019-03-20 21:09:51 +01:00
Simon
b95cb71653
make-release.py: Versioning changes for 2.0.4-rc1.
2019-03-20 09:29:06 -07:00
Jack Grigg
98cfe4228c
configure: Guess -march for libsnark OPTFLAGS instead of hard-coding
...
When cross-compiling, this will remove the -march flag entirely unless
the user specifies CONFIGURE_FLAGS="--with-gcc-arch=<arch>".
2019-03-13 07:37:56 +00:00
mdr0id
81fbf49883
make-release.py: Versioning changes for 2.0.3.
2019-02-11 09:05:39 -08:00
mdr0id
626874390a
make-release.py: Versioning changes for 2.0.3-rc1.
2019-02-04 11:51:52 -08:00
mdr0id
d974ec3fec
make-release.py: Versioning changes for 2.0.2.
2018-11-28 11:00:22 -08:00
mdr0id
4c5943cade
make-release.py: Versioning changes for 2.0.2-rc1.
2018-11-18 10:11:46 -08:00
tpantin
cc2fcb40a1
Updating copyright year from 2017 to 2018
2018-10-27 16:19:40 -04:00
Simon
0cabb007ae
make-release.py: Versioning changes for 2.0.1.
2018-10-14 13:39:40 -07:00
mdr0id
94360cd098
make-release.py: Versioning changes for 2.0.1-rc1.
2018-10-08 12:23:18 -07:00
Jack Grigg
bce692390f
configure: Don't add -ldl to RUST_LIBS for mingw32
2018-08-17 18:54:04 +01:00
Jack Grigg
8d45f6e4e2
configure: Don't require RELRO and BIND_NOW when cross-compiling
...
mingw-w64's ld (at least mingw-w64 4.0.4-2) appears to not support -z
2018-08-17 16:43:20 +01:00
Simon
94f7201424
make-release.py: Versioning changes for 2.0.0.
2018-08-15 17:51:39 -07:00
Sean Bowe
3e9aec2a37
make-release.py: Versioning changes for 2.0.0-rc1.
2018-08-09 16:46:45 +00:00
kozyilmaz
eda9f87809
Add -Wl,-pie linker option for macOS and use it instead of -pie
2018-07-04 12:27:01 +03:00
Simon
8fc73722e8
make-release.py: Versioning changes for 1.1.2.
2018-07-01 20:07:24 -07:00
Simon
5cbbb7e375
make-release.py: Versioning changes for 1.1.2-rc1.
2018-06-22 16:55:20 -07:00
Jack Grigg
40c33db2f4
make-release.py: Versioning changes for 1.1.1.
2018-05-25 15:38:43 +12:00
Simon
d3ff27c0a6
make-release.py: Versioning changes for 1.1.1-rc2.
2018-05-23 09:27:59 -07:00
Jack Grigg
8bf890abac
make-release.py: Versioning changes for 1.1.1-rc1.
2018-05-19 09:50:15 +12:00
Homu
312f70091b
Auto merge of #3169 - ebfull:sapling-global-params, r=str4d
...
Import sapling global parameters
This will also test the API a bit by invoking the Pedersen hashes.
Part of #3053 .
2018-04-14 18:35:11 -07:00
Homu
8be9d79c21
Auto merge of #3153 - str4d:default-disable-libs, r=str4d
...
Disable building libzcashconsensus by default
The library is not currently a supported build artifact; it needs work in
order to build on certain platforms (e.g. MacOS), and its dependencies need to
be narrowed down (Equihash is not a requirement for validating scripts).
2018-04-14 13:04:35 -07:00
Sean Bowe
341b775b19
Link with -ldl
2018-04-13 22:26:24 -06:00
Jack Grigg
f64c346eca
make-release.py: Versioning changes for 1.1.0.
2018-04-11 20:02:10 -06:00
Jack Grigg
47fe5f72f4
Disable building libzcashconsensus by default
...
The library is not currently a supported build artifact; it needs work in
order to build on certain platforms (e.g. MacOS), and its dependencies need to
be narrowed down (Equihash is not a requirement for validating scripts).
2018-04-06 15:09:50 +01:00
Jack Grigg
5e11533408
make-release.py: Versioning changes for 1.1.0-rc1.
2018-04-05 03:08:20 +01:00
Homu
599c847818
Auto merge of #2820 - str4d:darwin-build-patches, r=str4d
...
[macOS] Darwin build patches
Part of #2246 .
2018-04-03 12:44:24 -07:00
Jack Grigg
d9cd254e5e
Make Rust compilation mandatory
...
The temporary integration check in CheckEquihashSolution() remains, until we
have "real" Rust code to integrate.
Closes #2688 .
2018-03-28 17:55:45 +02:00
Jack Grigg
e6e4b619a9
Use correct Boost::System linker flag for libzcash
2018-03-26 16:22:35 +02:00
Jack Grigg
7346f09026
Only set multicore flags if OpenMP is available
2018-03-19 17:32:21 +01:00
Jack Grigg
c64108d1a0
Don't require RELRO and BIND_NOW for Darwin
...
Xcode's ld (at least ld64-302.3) doesn't support -z
2018-03-19 17:32:21 +01:00
Homu
b3a656cf53
Auto merge of #3048 - str4d:analysis-tools, r=str4d
...
Add configure flags for enabling ASan/UBSan and TSan
Also adds an environment variable for setting configure flags in `./zcutil/build.sh`.
2018-03-06 11:53:43 -08:00
Homu
796ea3815e
Auto merge of #2965 - rofl0r:patch-1, r=str4d
...
fix build error due to usage of obsolete boost_system-mt
closes #2304 for real
2018-03-05 06:25:56 -08:00
Jack Grigg
c4379e3a22
Add configure flags for enabling ASan/UBSan and TSan
...
Co-authored-by: Robert Seacord <rcseacord@gmail.com>
2018-03-01 16:04:42 +00:00
Jack Grigg
1d6f7acf4d
make-release.py: Versioning changes for 1.0.15.
2018-02-28 16:44:07 +00:00
Jack Grigg
1dd95be4a9
make-release.py: Versioning changes for 1.0.15-rc1.
2018-02-24 04:08:36 +00:00
rofl0r
36d8b2efbe
fix build error due to usage of obsolete boost_system-mt
...
closes #2304 for real
2018-02-19 21:21:48 +00:00
syd
b6a990def0
Remove OSX and Windows files from Makefile + share directory.
...
These are stale holdovers from bitcoin.
This closes #2169 .
2018-01-04 22:50:17 +00:00
Jack Grigg
2091cf23ae
make-release.py: Versioning changes for 1.0.14.
2018-01-03 23:44:51 +01:00
Jack Grigg
275f21ad4b
make-release.py: Versioning changes for 1.0.14-rc1.
2017-12-22 09:59:01 +00:00
Jack Grigg
0100c79405
Add Rust and Proton to configure options printout
2017-12-15 13:03:33 +00:00
Jack Grigg
704337b2b8
Move Zcash flags into configure.ac
2017-12-01 14:10:18 +00:00
Jack Grigg
c1fcdd01dd
Change --enable-werror to apply to all warnings, use it in build.sh
2017-12-01 14:10:18 +00:00
René Nyffenegger
bc9fff1130
Use AC_ARG_VAR to set ARFLAGS.
...
The user can set ARFLAGS in the ./configure step with
./configure ARFLAGS=...
If he chooses not to do so, ARFLAGS will be set to cr.
2017-12-01 14:10:17 +00:00
Cory Fields
5dd887fdf7
build: add --enable-werror option
...
This turns some compiler warnings into errors. Useful for c-i.
2017-12-01 14:10:17 +00:00
Cory Fields
d35ebc7b55
build: warn about variable length arrays
2017-12-01 14:10:17 +00:00
Cory Fields
943f19fec7
build: force a c++ standard to be specified
...
Newer compilers may switch to newer standards by default. For example, gcc6
uses std=gnu++14 by default.
2017-12-01 14:10:17 +00:00
Jonas Schnelli
0bcd85bee8
Add compile and link options echo to configure
2017-12-01 14:10:17 +00:00
Wladimir J. van der Laan
8a932154c5
build: supply `-Wl,--high-entropy-va`
...
This should enable high-entropy ASLR on 64-bit targets, for better
mitigation of exploits.
2017-12-01 14:10:17 +00:00
Anthony Towns
d812d95a8f
Add configure check for -latomic
2017-12-01 14:10:16 +00:00
Wladimir J. van der Laan
15472b7d84
build: Remove check for `openssl/ec.h`
...
We don't use any elliptic curves from OpenSSL anymore, nor include this
header anywhere but optionally in the tests of secp256k1 (which has
its own autoconf setup).
Reported by sinetek on IRC.
2017-12-01 14:10:16 +00:00
Wladimir J. van der Laan
57ab896ba4
test: Remove java comparison tool
2017-12-01 14:10:16 +00:00
Cory Fields
d70027148d
build: fix Windows builds without pkg-config
...
- guard PKG_PROG_PKG_CONFIG with an m4_ifdef. If not building for windows,
require it
- add nops as necessary in case the ifdef reduces the if/then to nothing
- AC_SUBST some missing _LIBS. These were split out over time, but not all were
properly substituted. They continued to work if pkg-config is installed
because it does the AC_SUBST itself
2017-12-01 14:10:16 +00:00
Cory Fields
341ab74532
build: quiet annoying warnings without adding new ones
...
Disabling warnings can be tricky, because doing so can cause a different
compiler to create new warnings about unsupported disable flags. Also, some
warnings don't surface until they're paired with another warning (gcc). For
example, adding "-Wno-foo" won't cause any trouble, but if there's a legitimate
warning emitted, the "unknown option -Wno-foo" will show up as well.
Work around this in 2 ways:
1. When checking to see if -Wno-foo is supported, check for "-Wfoo" instead.
2. Enable -Werror while checking 1.
If "-Werror -Wfoo" compiles, "-Wno-foo" is almost guaranteed to be supported.
-Werror itself is also checked. If that fails to compile by itself, it likely
means that the user added a flag that adds a warning. In that case, -Werror
won't be used while checking, and the build may be extra noisy. The user would
need to fix the bad input flag.
Also, silence 2 more additional warnings that can show up post-c++11.
2017-12-01 14:10:16 +00:00
Cory Fields
c5d645e22f
build: define base filenames for use elsewhere in the buildsystem
...
Unfortunately, the target namees defined at the Makefile.am level can't be used
for *.in substitution. So these new defines will have to stay synced up with
those targets.
Using the new variables for the deploy targets in the main Makefile.am will
ensure that they stay in sync, otherwise build tests will fail.
2017-12-01 14:10:16 +00:00
Cory Fields
c459de2f03
build: Split hardening/fPIE options out
...
This allows for fPIE to be used selectively.
2017-11-30 15:17:37 +00:00
Jack Grigg
daad2c2736
Check if OpenMP is available before using it
2017-11-29 17:28:44 +00:00
Jack Grigg
c16188cc6d
Remove manual -std=c++11 flag
...
This is handled by autoconf now.
2017-11-29 17:24:59 +00:00
Wladimir J. van der Laan
4ba172369d
build: Enable C++11 build, require C++11 compiler
...
Implements #6211 .
2017-11-29 17:24:59 +00:00
syd
6df5f51b7c
Update to address @daira comments wrt fixing configure.ac
...
Since we're enforcing Boost >= 1.62, we no longer need HAVE_WORKING_BOOST_SLEEP_FOR.
2017-11-23 11:58:25 -05:00
Jack Grigg
0523d21d22
make-release.py: Versioning changes for 1.0.13.
2017-11-20 12:23:45 +00:00
Jack Grigg
e70c8d2ea3
make-release.py: Versioning changes for 1.0.13-rc2.
2017-11-17 17:49:28 +00:00
Jack Grigg
051698a05c
Add the tar-pax option to automake
...
This enables the tarball generated by "make dist" to contain file names longer
than 99 characters.
2017-11-16 22:37:38 +00:00
Jack Grigg
8f23c734e6
Pass correct dependencies path to libsnark from both Gitian and build.sh
2017-11-15 15:30:21 +00:00
Jack Grigg
c5b04132bd
make-release.py: Versioning changes for 1.0.13-rc1.
2017-11-14 23:53:45 +00:00
Homu
4ca8f506d7
Auto merge of #2652 - str4d:820-libsnark-subtree, r=str4d
...
Move libsnark in-repo as a git subtree
This PR pulls in the libsnark subtree at the exact commit that we currently fetch via the depends system. To verify:
```
$ ./contrib/devtools/git-subtree-check.sh src/snark
src/snark in HEAD was last updated to upstream commit 9ada3f84ab484c57b2247c2f41091fd6a0916573 (tree c10a38c759
)
src/snark in HEAD currently refers to tree 34e916d3f6
:100644 100644 427f4f4ce9
13e54da68b
M Makefile
:040000 040000 42f29e42d1
dd73536163
M src
FAIL: subtree directory tree doesn't match subtree commit tree
```
This shows that there are changes relative to what we currently use, due to the later commits in the PR. If we exclude them, we see that the code is identical:
```
$ git checkout 26a8f68ea8
$ ./contrib/devtools/git-subtree-check.sh src/snark
src/snark in HEAD was last updated to upstream commit 9ada3f84ab484c57b2247c2f41091fd6a0916573 (tree c10a38c759
)
src/snark in HEAD currently refers to tree c10a38c759
GOOD
```
Closes #820 .
2017-10-17 20:41:11 -07:00
Jack Grigg
0f49863acb
make-release.py: Versioning changes for 1.0.12.
2017-09-28 01:17:05 +01:00
Jack Grigg
39cb7df909
make-release.py: Versioning changes for 1.0.12-rc1.
2017-09-23 10:42:23 +01:00
Jack Grigg
2fd43c599f
make-release.py: Versioning changes for 1.0.11.
2017-08-15 09:52:36 +01:00
Sean Bowe
26a8f68ea8
Remove libsnark from depends system and integrate it into build system.
2017-08-02 15:49:30 +01:00
Ariel Gabizon
fcf824e9f1
make-release.py: Versioning changes for 1.0.11-rc1.
2017-08-01 17:11:57 +02:00
Daira Hopwood
506a21850a
Remove UPnP support. fixes #2500
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-07-03 08:57:05 +01:00
Simon
d444e1cf40
make-release.py: Versioning changes for 1.0.10-1.
2017-06-23 19:43:29 -07:00
Jack Grigg
dc2ead6021
make-release.py: Versioning changes for 1.0.10.
2017-06-22 14:47:15 +12:00
Pieter Wuille
c1afe40a17
Update key.cpp to new secp256k1 API
2017-06-06 17:50:22 +12:00
Nathan Wilcox
de9c56c88a
make-release.py: Versioning changes for 1.0.9.
2017-05-24 12:50:05 -07:00
zkbot
f7f764e0b2
Auto merge of #2189 - bitcartel:1.0.7_with_apache_qpid, r=bitcartel
...
Add AMQP 1.0 support via Apache Qpid Proton C++ API 0.17.0
Closes #2188
2017-04-16 15:09:19 +00:00
Nathan Wilcox
451047d14a
Bump version numbers for v1.0.8-1.
2017-04-13 17:10:32 -07:00
Daira Hopwood
83aac13083
Update version numbers.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-03-27 21:01:18 +01:00
Simon
99eb947a98
Add AMQP 1.0 support via Apache Qpid Proton C++ API 0.17.0
2017-03-25 08:51:40 -07:00