Date: Mon, 23 Oct 2023 01:53:46 GMT From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 362ade45f850 - main - net-p2p/monero-cli: fix build on i386 Message-ID: <202310230153.39N1rkSh013501@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=362ade45f8500addacff204e1e10b9eea2d24e6a commit 362ade45f8500addacff204e1e10b9eea2d24e6a Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-10-23 01:53:25 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-10-23 01:53:25 +0000 net-p2p/monero-cli: fix build on i386 This crypto code is for amd64 only. Don't attempt to build it on i386. Approved by: portmgr (build fix blanket) --- net-p2p/monero-cli/Makefile | 1 - net-p2p/monero-cli/files/patch-src_crypto_CMakeLists.txt | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/net-p2p/monero-cli/Makefile b/net-p2p/monero-cli/Makefile index 7f44f7489793..c8737e923599 100644 --- a/net-p2p/monero-cli/Makefile +++ b/net-p2p/monero-cli/Makefile @@ -11,7 +11,6 @@ WWW= https://getmonero.org/ LICENSE= BSD3CLAUSE BROKEN_SSL= libressl -BROKEN_i386= fails to compile: register r15d is only available in 64-bit mode BROKEN_aarch64= fails to compile: uses unavailable HWCAP_AES and getauxval LIB_DEPENDS= \ diff --git a/net-p2p/monero-cli/files/patch-src_crypto_CMakeLists.txt b/net-p2p/monero-cli/files/patch-src_crypto_CMakeLists.txt new file mode 100644 index 000000000000..20d27ee524e0 --- /dev/null +++ b/net-p2p/monero-cli/files/patch-src_crypto_CMakeLists.txt @@ -0,0 +1,11 @@ +--- src/crypto/CMakeLists.txt.orig 2023-10-23 03:21:28 UTC ++++ src/crypto/CMakeLists.txt +@@ -50,7 +50,7 @@ set(crypto_sources + CryptonightR_JIT.c + tree-hash.c) + +-if(ARCH_ID STREQUAL "i386" OR ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "amd64") ++if(ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64" OR ARCH_ID STREQUAL "amd64") + list(APPEND crypto_sources CryptonightR_template.S) + endif() +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310230153.39N1rkSh013501>