Daira Hopwood
2807c3f1a1
zcutil/build.sh: Run zcutil/clean.sh before building.
...
fixes #3625
We use clean.sh rather than distclean.sh because the checksumming
and redownloading of C++ dependencies is pretty robust.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-04-14 14:51:49 +01:00
plutoforever
762f643613
removed bashisms from build scripts
...
Co-authored-by: Jack Grigg <jack@electriccoin.co>
2021-03-31 19:24:36 +13:00
Daira Hopwood
bd61fbf056
Ensure that `CONFIGURE_FLAGS=--enable-debug` correctly uses -O0 for dependencies and main build.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-01-25 14:32:18 +00:00
Jack Grigg
dbfb3565d6
lint: Opt out of locale dependence in Zcash shell scripts
2020-11-09 23:06:21 +00:00
Jack Grigg
ff4cb00cb2
depends: Vendor LLD and use it for linking
...
We don't specify it for macOS, as we already pin a specific SDK there.
2020-10-12 18:10:16 +01:00
bambam
58dda603a4
Added libfuzzer support.
2020-08-12 21:41:30 +01:00
Kris Nuttycombe
0391809da1
Remove amqp code and Proton library depenencies & flags.
2020-07-31 13:08:18 -06:00
Jack Grigg
2e9028f1f1
Move default -g flag into configure.ac behind --enable-debug=no
...
This ensures that if --enable-debug is set, we correctly use -g3 if it
is available, instead of overriding it.
Part of #4317 .
2020-01-31 13:39:38 +00:00
Jack Grigg
d458cf627a
zcutil/build.sh: Turn off verbosity by default
...
Users who want verbose output (like CI) can call ./zcutil/build.sh V=1
2020-01-31 12:12:07 +00:00
Jack Grigg
42a58f1e23
configure: Change default Proton to match build.sh
2020-01-31 12:12:07 +00:00
Jack Grigg
2ed62edfd6
zcutil/build.sh: Remove lcov and mining flags
...
These flags can be directly moved into CONFIGURE_FLAGS.
2020-01-31 12:12:07 +00:00
Eirik Ogilvie-Wigley
e7860a2843
Remove --disable-libs flag from help output
2018-11-26 12:45:17 -07:00
Jack Grigg
f2d3715727
zcutil/build.sh: Remove --enable-werror from default configuration
...
Windows cross-compile has currently-unavoidable warnings. Upstream Bitcoin Core
has them as well. For now, let's remove this from the default configuration, and
add it to the Linux and OSX CI builders (so we effectively still enforce it for
merged PRs).
2018-08-17 16:45:32 +01:00
Jack Grigg
03ea5a8122
zcutil/build.sh: Use config.site to set default ./configure settings
...
This is a more reliable way to configure the depends path (matching what is done
upstream), and frees up --prefix for user configuration.
2018-08-17 16:45:28 +01:00
Jack Grigg
b057754005
zcutil/build.sh: Use $HOST to specify the depends prefix
2018-08-17 16:43:06 +01:00
Dimitris Apostolou
ccf9106501
Fix typos
2018-07-06 14:33:24 +03: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
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
326fc65e66
Add environment variable for setting ./configure flags in zcutil/build.sh
...
Closes #2066 .
2018-03-01 16:04:12 +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
Jack Grigg
e4cd341260
Replace hard-coded defaults for HOST and BUILD with config.guess
2017-11-29 15:25:14 +00:00
Jack Grigg
7fa05b29b6
Use g-prefixed coreutils commands if they are available
...
If they are present on the system, it means that the non-prefixed ones are not
necessarily the versions we want, while the prefixed ones are highly likely to
be the ones from GNU Coreutils.
2017-11-29 15:24:21 +00:00
Bjorn Hjortsberg
4272a1e2b1
Do not warn on built in declaration mismatch
2017-07-20 13:27:37 +02:00
Homu
35bf9e73ff
Auto merge of #2420 - kozyilmaz:disable-libs, r=str4d
...
option to disable building libraries (zcutil/build.sh)
option to disable building libraries (zcutil/build.sh)
2017-06-15 07:31:46 -07:00
kozyilmaz
c63417bbe7
option to disable building libraries (zcutil/build.sh)
2017-06-04 19:46:35 +03:00
kozyilmaz
cf4f400ca8
[macOS] system linker does not support “--version” option but only “-v”
2017-05-31 10:38:02 +03:00
Homu
2adeb3948b
Auto merge of #2369 - nathan-at-least:build-toolchain-logging, r=nathan-at-least
...
Print toolchain versions before making depends, autoconf, or main build.
Closes #2218 .
Note: I spent a half hour attempting to have make do this so that people not using `build.sh` would get the same output. There's no easy way I found to ensure that output occurs first and regardless of the result of other build rules.
2017-05-15 13:12:05 -07:00
Nathan Wilcox
867d3e344f
Show toolchain versions in build.sh.
2017-05-11 22:02:00 -07:00
Daira Hopwood
b04529fefd
Disable building Proton by default.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-05-10 16:54:58 +01:00
Simon
f493d3e044
Add --disable-proton flag to build.sh. Proton has build/linker issues with gcc 4.9.2 and requires gcc 5.x.
2017-03-25 09:41:54 -07:00
Sean Bowe
802ea76b3a
Allow Rust-language related assets to be disabled with `--disable-rust`.
2017-03-18 07:47:40 -06:00
Simon
abecfc422c
Remove redundant gui options from build scripts
2017-03-10 10:35:23 -08:00
Daira Hopwood
d596658022
Remove NO_QT make option.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-03-07 19:15:08 +00:00
Jack Grigg
2cc0a252ad
Add compile flag to disable compilation of mining code
2017-01-30 21:14:46 +01:00
Jeffrey Walton
b8e72ced23
Add porter dev overrides for CC, CXX, MAKE, BUILD, HOST
2016-12-01 00:47:00 +13:00
Jack Grigg
7a810efa08
Add --disable-tests flag to zcutils/build.sh
...
Closes #1787
2016-11-06 12:35:55 -08:00
David Mercer
33118f63b9
pass in both HOST and BUILD to depends system, needed for deterministic builds
2016-10-19 19:37:37 -07:00
David Mercer
850019de42
explicitly pass HOST and BUILD to ./configure
2016-10-19 15:48:52 -07:00
Jack Grigg
df2bca8fbc
Re-enable disabled compiler warnings
...
Reverts:
- be1bae14e8
- ec3bd70b6d
Closes #944
2016-09-29 14:35:38 +13:00
Taylor Hornby
f5d3d420f6
Add -fwrapv -fno-strict-aliasing; fix libzcash flags.
2016-08-17 11:57:51 -06:00
Taylor Hornby
46ad3c2758
Fix inconsistent optimization flags; single source of truth.
2016-08-17 11:38:28 -06:00
Taylor Hornby
998eea5db6
Disable hardening when building for coverage reports.
2016-08-11 15:15:50 -06:00
Taylor Hornby
4e0b4af40f
Enable -O1 for better FORTIFY_SOURCE protections.
2016-07-21 20:45:02 -06:00
Taylor Hornby
ae79cec542
Make the --enable-hardening flag explicit.
2016-07-21 19:53:45 -06:00
Taylor Hornby
be1bae14e8
Hide new Boost warnings on GCC 6.
2016-05-18 12:20:16 -06:00
Taylor Hornby
6dc53bdc33
Turn on -Werror for the Zcash build.
2016-05-18 11:22:29 -06:00
Taylor Hornby
ec3bd70b6d
Ignore deprecated declaration warnings.
2016-05-18 11:22:29 -06:00
Taylor Hornby
67f3fe3d25
Fix FORTIFY_SOURCE build errors.
2016-05-18 11:22:29 -06:00
Nathan Wilcox
d16d5ef832
Add coverage support scoped to only the zcash-gtest run; invoke with make zcash-cov; make cov is a superset.
2016-04-18 11:15:34 -07:00