Commit Graph

375 Commits

Author SHA1 Message Date
Duke
55c3f78dca Remove gmp as a dependency since we don't actually use it
Long ago our code actually used gmp directly but that is no longer the case.
Our dependency secp256k1 has an optional dependency on gmp but the way we
configure and compile secp256k1 does not use it. So there is no reason
to download and compile gmp in our build system. This means we no longer
need to maintain three different forks of GMP (one for Darwin, one for Win and
one for Linux that supports gcc15). This also makes downloading and compiling
Hush faster. Joy to the world.
2025-12-30 13:42:08 -05:00
Duke
437a229c97 bdb requires -fPIE to link correctly 2025-12-30 03:41:06 -05:00
Duke
50a4107f08 CFLAGS 2025-12-30 01:26:09 -05:00
Duke
017d0eeae5 CFLAGS 2025-12-30 00:37:21 -05:00
Duke
f6364c9ec6 CFLAGS 2025-12-29 23:35:22 -05:00
Duke
aba63b44a1 Set CCFLAGS not CPPFLAGS 2025-12-29 23:30:08 -05:00
Duke
7b14d1a00b Set CCFLAGS not CPPFLAGS 2025-12-29 23:28:30 -05:00
Duke
996f7c6d4a Do not build googletest since we do not currently compile the tests that use this dep 2025-12-29 23:24:00 -05:00
Duke
1abff7c619 Compile libsodium with -std=gnu17 2025-12-29 23:14:10 -05:00
Duke
8dc516e82f Use -std=gnu17 to compile wolfssl and use all cores to compile 2025-12-29 22:35:22 -05:00
Duke
3b77ddc16e Use C17 standard when compiling bdb to avoid problems with gcc15 which defaults to C23 2025-12-29 22:06:17 -05:00
Duke
6b05141159 We also need to remove this from the generated ./configure script 2025-12-29 21:47:11 -05:00
Duke
be036e7013 Try to support gcc 15 in our GMP dependency 2025-12-29 21:26:55 -05:00
Duke
93c0aa0659 Use custom compiler env vars CC/CXX for linux hosts when building 2025-12-29 20:18:01 -05:00
Duke
5dc6db7e5c Prevent unary_function warning and other warnings #449 2025-03-02 18:52:16 -05:00
Duke
598b969987 Use our own hosted version of libgmp 2024-10-01 08:46:46 -04:00
Duke
d915fc38b7 Add some useful comments to the wolfssl package 2024-09-18 10:53:28 -04:00
duke
c567096aae Merge pull request 'wolfssl downgrade to 4.8.1' (#422) from wolfssldowngrade into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/422
2024-09-18 16:48:29 +02:00
onryo
6feea4cfd2 wolfssl downgrade to 4.8.1 test 2024-09-17 09:25:58 +00:00
Duke
7f27489224 Speed up compile by disabling libevent sample code, originally f38c051048 2024-08-07 07:11:13 -07:00
fekt
5e5a15018d Use 4.8.1 for wind0ze 2024-03-01 02:54:03 +00:00
fekt
f5cb0f2e9d Revert "Fix for cross-compiling windows"
This reverts commit c773cf5299.
2024-02-28 22:26:34 -05:00
fekt
c773cf5299 Fix for cross-compiling windows 2024-02-28 20:36:02 -05:00
onryo
58b65f9670 Update copyrights 2024-02-27 23:59:59 +01:00
Duke
f03b01d49e Update to wolfssl 5.2.0 2024-02-12 13:24:34 -05:00
Duke
2b7b183c2a Update to wolfssl 5.0.0 2024-02-12 13:10:20 -05:00
Duke
809c0a4b38 Update to wolfssl 4.8.0 and do not verify cert 2024-02-12 12:52:01 -05:00
Duke Leto
8e2715a734 wolfssl 4.7.0 2024-01-27 11:44:07 -05:00
Duke
b70370123e Fix boost download link 2024-01-07 23:34:36 -05:00
Duke
323d2134a1 Boost download has been broken for over a week, so we will host our own 2024-01-07 23:34:25 -05:00
fekt
bde07c25fe Mac fix 2023-11-30 05:30:50 +00:00
Duke
f442823963 Fix unoptimized libraries in depends
This was a bug we inherited from BTC which causes some dependencies to
be built without optimization essentially replacing -O2 -pipe with
-O0 because cxxflags is assigned to instead of appended to.

We no longer have zeromq so for us this fixes the fact that bdb is being
compiled without optimization.

https://github.com/bitcoin/bitcoin/pull/22840
2023-11-13 19:44:28 -08:00
jahway603
b92cc1efbb Upgraded curl to 8.4.0 to resolve Issue #325 2023-10-14 22:47:27 -04:00
jahway603
12b87365bf Merge branch 'dev' into jahway603 2023-10-14 22:19:07 -04:00
fekt
803e1d0f21 Use older version of cURL for Windows 2023-07-05 13:29:36 -04:00
Duke
79f126be43 Use default jobs number when compiling boost
According to current boost docs, not specifying -j parameter will default to using all cores to compile,
so removing these should speed up compiling boost. This code dates back to 2014 when the default
may have been a single core, so it was specified.
2023-06-13 22:43:16 -04:00
jahway603
73a54682b8 ARM commit - have to squash these damn commits... 2023-04-28 12:24:06 -04:00
jahway603
78978dfc45 Reverting to commit dd9be59e4 or current origin/dev branch 2023-04-27 16:27:25 -04:00
jahway603
e572b2922e add missing aarch64 (ARM64) build dependency 2023-04-06 02:15:55 -04:00
Duke
0b68ea2a20 Disable rust docs to speed up build times 2023-04-05 19:31:15 -07:00
jahway603
75c42512ea more changes for freebsd support 2023-04-05 17:09:11 -04:00
jahway603
e0f27459b0 more changes for freebsd support 2023-04-05 16:51:36 -04:00
jahway603
bb7cb253c1 miodrag patches to help get gcc12 building hushd 2023-04-03 22:23:30 -04:00
Duke
e033a2e6eb Update copyrights to 2023 2023-02-09 18:06:03 -05:00
fekt
e313676562 Mac build fixes 2022-10-27 16:49:02 -04:00
Jonathan "Duke" Leto
5d2307a709 Update copyrights to 2022 2022-09-19 15:45:30 -07:00
Duke Leto
28e604dd0b Merge pull request 'depends: Add FreeBSD to hosts and builders' (#196) from jahway603/hush3:freebsd into dev
Reviewed-on: https://git.hush.is/hush/hush3/pulls/196
2022-09-17 02:17:20 +00:00
Duke Leto
1799c6c9bf Remove zeromq support 2022-09-12 19:35:27 -04:00
jahway603
0edc5927e9 depends: Add FreeBSD to hosts and builders 2022-09-12 00:50:50 -04:00
jahway603
b6ee6ba57e changed libsodium to gitea hosted version 2022-07-15 12:58:29 -04:00