Commit Graph

480 Commits

Author SHA1 Message Date
tobtoht cdab0d489c
cmake: require libsodium 2024-02-24 16:26:43 +01:00
jeffro256 e7629dc46f
CMake: only set policy CMP0148 to OLD if version >= 3.27
Co-authored-by: 0xFFFC0000 <0xFFFC0000@proton.me>
2024-01-19 11:14:58 -06:00
tobtoht eb083ca423
cmake: silence FindPythonInterp warning 2023-11-25 20:38:52 +01:00
selsta b4491c1072
cmake: set -fno-aligned-allocation on macOS ARM
We set a deployment target that is lower than 10.14, which means
we have to disable aligned allocation otherwise compilation fails.
2023-10-26 04:02:27 +02:00
selsta df9f380671
cmake: set BOOST_NO_AUTO_PTR to fix c++17 compilation 2023-10-26 04:02:26 +02:00
selsta 5965b02aef
cmake: set cpp17 standard 2023-10-26 04:02:25 +02:00
luigi1111 e946315627
Merge pull request #9002
932bba3 depends: remove libiconv: unused (tobtoht)
2023-10-25 21:38:32 -04:00
luigi1111 cf474d55f6
Merge pull request #8933
ebb7671 depends: use macOS 11 SDK with libc++ headers (tobtoht)
2023-10-25 21:31:40 -04:00
tobtoht ebb7671e0e
depends: use macOS 11 SDK with libc++ headers 2023-10-24 19:56:11 +02:00
tobtoht 932bba3b79
depends: remove libiconv: unused 2023-09-25 14:00:34 +02:00
Jeffrey ce863683ab
Remove src/platform
All the files in src/platform are currently unused and unnecessary. See below:

* `mingw/alloca.h`: unused throughout project
* `msc/sys/param.h`:
    1. In `fix_darwin.patch`, `sys/param.h` is well-defined to be used only in OpenBSD environment
    2. `int-util.h` already handles when `sys/param.h` is not present and injects its own values
    3. `db_drivers/liblmdb/mdb.c` is a similar situation: already explicity handles different platforms
    4. `src/crypto/chacha.h` uses `int-util.h` for endianness context
* `msc/alloca.h`: unused
* `msc/inline_c.h`: not needed. the `inline` keyword is supported for C99 I believe, and certainly for C11, C14+
* `msc/stdbool.h`: `stdbool.h` is standard since C99, and MSVC has supported it for a long time (~10 years)
2023-07-02 19:29:18 -05:00
luigi1111 e7dc03f99b
Merge pull request #8880
ec0cdc4 depends: remove icu4c (tobtoht)
2023-06-27 11:46:54 -05:00
luigi1111 dd5445d685
Merge pull request #8795
724441a link against libz on non Apple/Windows (moneromooo-monero)
2023-06-27 11:32:53 -05:00
tobtoht ec0cdc4acb
depends: remove icu4c 2023-05-26 16:17:31 +02:00
luigi1111 37feb225a6
Merge pull request #8750
5a7a5f1 build: BUILD_DEBUG_UTILITIES fix (Jeffro256)
2023-04-25 11:18:40 -04:00
moneromooo-monero 724441a782
link against libz on non Apple/Windows
Needed by libcrypto at least
2023-03-21 14:36:48 +00:00
Jeffro256 5a7a5f17da build: BUILD_DEBUG_UTILITIES fix
Co-authored-by: Jethro Grassie <jtg@xtrabass.com>
2023-02-26 13:38:53 -06:00
mj-xmr 5b4fea72cf Copyright: Update to 2023
Co-authored-by: plowsof <plowsof@protonmail.com>
extra files
2023-01-16 13:00:18 +01:00
luigi1111 451ff7bd91
Merge pull request #8677
fe8522c Bump WINVER to 0x0600 (Windows Vista) (SChernykh) dab7d01 Refactored rx-slow-hash.c (SChernykh)
2023-01-11 12:10:02 -05:00
SChernykh fe8522c564 Bump WINVER to 0x0600 (Windows Vista)
This is required to use SRW locks in Windows - see `src/crypto/c_threads.h`
2023-01-09 07:48:00 +01:00
Offshore Monero 0e5ecd4603 Turn readline off on OpenBSD because it is broken 2022-12-01 04:27:48 +00:00
luigi1111 400f236650
Merge pull request #8570
8923441 fix build in netbsd (mmyjona)
2022-10-28 00:50:17 -04:00
mmyjona 8923441ff2
fix build in netbsd 2022-09-15 04:38:47 -07:00
AgoraDesk / LocalMonero f69adef4c1 Fix static builds for Ubuntu 22.04
Link libbsd, libmd, libprotokit for ZMQ to fix static builds for Ubuntu 22.04
2022-09-13 00:11:02 +08:00
anon 3be1dbd096 connection: fix implementation 2022-07-05 22:33:34 -07:00
mj-xmr 9c42b728ba
CMake: Add missing BUILD_SHARED_LIBS option 2022-04-10 21:25:45 +02:00
mj-xmr da9aa1f7f8
Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
luigi1111 c1e7e97cea
Merge pull request #8117
505b382 cmake: enable build on riscv{64, 32} (Xeonacid)
2022-01-24 15:14:38 -05:00
Xeonacid 505b38260c cmake: enable build on riscv{64, 32}
tested on Arch Linux RISC-V.
2021-12-22 15:43:44 +08:00
SerHack 6366187cf3 Fixed warnings for Clang (used as CMAKE_CXX compiler) 2021-12-19 03:16:53 -08:00
luigi1111 a723f25041
Merge pull request #8054
a491175 cmake: fix incorrect else syntax (selsta)
2021-11-30 17:03:23 -05:00
selsta a491175f7d
cmake: fix incorrect else syntax 2021-11-10 00:33:16 +01:00
selsta 94dc19a8b3
cmake: remove including non-existent directory 2021-10-28 14:30:35 +02:00
luigi1111 7f1a44679c
Merge pull request #7971
b00e21d cmake: set cpp14 standard (selsta)
2021-10-17 23:33:33 -05:00
luigi1111 c458d5fe40
Merge pull request #7989
9cd7aa6 cmake: don't optimize debug build (selsta)
2021-10-11 13:05:25 -05:00
selsta 9cd7aa60f0
cmake: don't optimize debug build 2021-10-04 02:30:34 +02:00
selsta bc167a1738
cmake: fix copy/paste typo 2021-09-25 06:28:41 +02:00
selsta b00e21dccc
cmake: set cpp14 standard
It's 2021, we can easily switch to C++14 without any troubles.
2021-09-25 06:22:12 +02:00
luigi1111 6b824c9ed0
Merge pull request #7945
4afd9a7 cmake: set required C/C++ standard to 11 (selsta)
2021-09-23 22:22:42 -05:00
luigi1111 4120098e09
Merge pull request #7942
5617a29 unbound: remove leftovers (selsta)
2021-09-23 22:22:00 -05:00
luigi1111 60eddc566e
Merge pull request #7917
167cbdf CMake: Add missing SANITIZE option (mj-xmr)
2021-09-23 22:15:55 -05:00
selsta 4afd9a7a9e
cmake: set required C/C++ standard to 11
Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
2021-09-16 10:44:25 +02:00
selsta 5617a292ee
unbound: remove leftovers 2021-09-15 07:32:19 +02:00
luigi1111 2a02cd0a5f
Merge pull request #7773 from selsta/unbound
external: remove unbound submodule
2021-09-09 15:13:06 -04:00
selsta ae85ec0285
external: remove unbound submodule 2021-09-03 07:47:35 +02:00
mj-xmr 167cbdf870
CMake: Add missing SANITIZE option 2021-09-02 16:28:19 +02:00
luigi1111 4ada08ad9a
Merge pull request #7847
0a021c3 CMake: document -Werror for add_c_flag_if_supported() from #7718 (mj-xmr)
2021-08-26 21:11:37 -04:00
luigi1111 460fd4c80a
Merge pull request #7816
29296d5 cmake: fix double build (selsta)
2021-08-11 22:39:06 -04:00
mj-xmr 0a021c3bd1
CMake: document -Werror for add_c_flag_if_supported() from #7718 2021-08-11 19:53:20 +02:00
moneromooo-monero 90d6bed804
cmake: bodge cmake failure on OSS-Fuzz 2021-07-31 19:22:57 +00:00