Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 18:43:51 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: e1444d580be6 - main - math/costa: Fix build on some systems by removing the -native flag
Message-ID:  <202302281843.31SIhpJb049488@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=e1444d580be63126059934cbf0925fc0aaadb322

commit e1444d580be63126059934cbf0925fc0aaadb322
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-28 16:33:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-28 18:43:46 +0000

    math/costa: Fix build on some systems by removing the -native flag
---
 math/costa/Makefile                   |  1 +
 math/costa/files/patch-CMakeLists.txt | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/math/costa/Makefile b/math/costa/Makefile
index 12f41b4d51ef..4cd520b6953f 100644
--- a/math/costa/Makefile
+++ b/math/costa/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	costa
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.2
+PORTREVISION=	1
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/math/costa/files/patch-CMakeLists.txt b/math/costa/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..72ff9c11ba6e
--- /dev/null
+++ b/math/costa/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2023-02-28 08:57:54 UTC
++++ CMakeLists.txt
+@@ -58,7 +58,7 @@ adjust_mpiexec_flags()
+ # OpenMP
+ find_package(OpenMP COMPONENTS CXX REQUIRED)
+ 
+-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -funroll-loops -march=native -DNDEBUG")
++SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -funroll-loops")
+ 
+ # Bundled dependencies
+ #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302281843.31SIhpJb049488>