From nobody Sat Jan 29 17:24:06 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AA0CC199B98C; Sat, 29 Jan 2022 17:24:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JmLlp47Mnz3HQK; Sat, 29 Jan 2022 17:24:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643477046; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XgiVd3fMQfOrt0CDjI6ahxGPfvZH4YwPqJlMYlx1ylA=; b=NHv7Rf7PNMMQuJ2APoI/dOembVDqZOx0MIF+1DGVHdwhnCMaC8eDVPnOXqHyh/MdkRYyPw OmIKXL9cLuBWRy7g7SxeK+61q49HeGxdpqiNPWz3IxLCDziN4zkkYvH+mDK08FwNPZrtKR mCriEZgf+yGKUYzl8zzcTP/Iem70iiTl5+C0jLl7a+zU4A9N0vtHpC4f8HR/Cm5nL11XwK 5/z9mamApmP1hs77zSPrinj2kSCrKCev0aAX/gAYpH/vtiapkNKtnhfUpobNKvNxFc0EFn tRiXC9jooMw2bWLMQ8NlikKNFhbXfLW6yICipLMjo7TS/XTJ6NF3T8KMK7rAGg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6EB271956D; Sat, 29 Jan 2022 17:24:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20THO6kY039280; Sat, 29 Jan 2022 17:24:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20THO6Ie039279; Sat, 29 Jan 2022 17:24:06 GMT (envelope-from git) Date: Sat, 29 Jan 2022 17:24:06 GMT Message-Id: <202201291724.20THO6Ie039279@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 23fc414cde9f - main - math/openturns: Fix build on 14 (with clang-13) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 23fc414cde9f84b69ff87c5492576d610d581a41 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643477046; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XgiVd3fMQfOrt0CDjI6ahxGPfvZH4YwPqJlMYlx1ylA=; b=hrxUnP6hClDPdWO1Qf4gR9FASlOYR14z3Rm0ihv72h7ea39afoWOKRqi/P75rVRITRDVfw YiiHzEjZLgfmmOTtbm9twmLfFD/ftJDETgEha7P9hqbkQJU7WtI67JoHNNR929nfPFELyi LC7xpoDyFlrNAZODvb2L1mT8gZW6gLMdNyX6DqEF7KwYfq9kn54ZfEJfGeXvboUkml7xdx dafZl5Hoov+MjKkbSrR3UIUBE0knwiXso1BDVBdjkEwxxosAMuJehZwjEj1QbEowaxjf5u NJ+fDk2JG+Vh0RCSqsINQhT+3SWmrJyyLgSFXzx1wb0YhhSbPejyzWwaYyc1ww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643477046; a=rsa-sha256; cv=none; b=UP+Q7It4+2nkowYBSDVcEQEq/C8B4r5uywj3lQ9Ay/+fYRibNufnHJD+dav5yldSCiAxl1 hvSAHnPPqITmiLmPUKHPoDCLBEg9ub/SIY2MVq4GwJ3mbe0Ks3Pvi0S1NS1YzHV06VFpZ1 1aovD/gXWV2BNVyQ07netdjdNpzeTkUw+5PVYmJa2mfMgLZjRJy9VljpIls+EUSqkzUT/0 0j8zahDcykSDBM0I027khllsDwubp1TwIUmySSEvYpkQ40yQpW9gdZI+xFr9sIAqYwx0Qm r7+wsUKHVopfhGZpoWahPBIupXP4oFt0Nslzdb8zzUfvTjy9u1nOkDWeRKEdCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=23fc414cde9f84b69ff87c5492576d610d581a41 commit 23fc414cde9f84b69ff87c5492576d610d581a41 Author: Yuri Victorovich AuthorDate: 2022-01-29 05:50:46 +0000 Commit: Yuri Victorovich 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}