Date: Sat, 29 Jan 2022 17:24:06 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 23fc414cde9f - main - math/openturns: Fix build on 14 (with clang-13) Message-ID: <202201291724.20THO6Ie039279@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=23fc414cde9f84b69ff87c5492576d610d581a41 commit 23fc414cde9f84b69ff87c5492576d610d581a41 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-01-29 05:50:46 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-01-29 17:24:00 +0000 math/openturns: Fix build on 14 (with clang-13) clang-13 runs out of memory on OpenTurns, see bug#261341 --- math/openturns/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/math/openturns/Makefile b/math/openturns/Makefile index 8be8b004c25d..b4b4e59729a6 100644 --- a/math/openturns/Makefile +++ b/math/openturns/Makefile @@ -50,7 +50,7 @@ LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libtbb.so:devel/onetbb \ libunwind.so:devel/libunwind -USES= bison blaslapack:openblas cmake compiler:c++14-lang eigen:3 gnome jpeg localbase:ldflags pkgconfig sqlite xorg +USES= bison blaslapack:openblas cmake eigen:3 gnome jpeg localbase:ldflags pkgconfig sqlite xorg # compiler:c++14-lang USE_GITHUB= yes USE_GNOME= libxml2 USE_XORG= ice sm x11 xau xcb xdmcp xext @@ -83,6 +83,15 @@ PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS} PORTEXAMPLES= * +LLVM_VERSION= 12 # workaround for clang-13 crash: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261341 + +# use clang from ports because cmake can't find base llvm for JIT +BUILD_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} +RUN_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} +CPP= clang-cpp${LLVM_VERSION} +CC= clang${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} + post-install: @${RM} -r ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201291724.20THO6Ie039279>