From owner-dev-commits-ports-all@freebsd.org Tue Jun 15 08:42:21 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F47E643934; Tue, 15 Jun 2021 08:42:21 +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 4G41z05tc4z4qT4; Tue, 15 Jun 2021 08:42:20 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 809C824DF6; Tue, 15 Jun 2021 08:42:20 +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 15F8gKKJ064718; Tue, 15 Jun 2021 08:42:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15F8gKEi064717; Tue, 15 Jun 2021 08:42:20 GMT (envelope-from git) Date: Tue, 15 Jun 2021 08:42:20 GMT Message-Id: <202106150842.15F8gKEi064717@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 05931c0cc85b - main - math/csdp: fix build on powerpc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05931c0cc85b2fdfb03258db121648adf562f0ca Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2021 08:42:21 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=05931c0cc85b2fdfb03258db121648adf562f0ca commit 05931c0cc85b2fdfb03258db121648adf562f0ca Author: Piotr Kubaj AuthorDate: 2021-06-15 08:41:15 +0000 Commit: Piotr Kubaj CommitDate: 2021-06-15 08:41:15 +0000 math/csdp: fix build on powerpc LLVM on powerpc doesn't have libomp: cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fopenmp -ansi -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I../include -c -o op_o.o op_o.c op_o.c:15:10: fatal error: 'omp.h' file not found --- math/csdp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/csdp/Makefile b/math/csdp/Makefile index d6254a763116..9319f4d5b148 100644 --- a/math/csdp/Makefile +++ b/math/csdp/Makefile @@ -29,6 +29,12 @@ PLIST_FILES= bin/complement \ bin/rand_graph \ bin/theta +.include + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.endif + post-stage: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*