git: e1444d580be6 - main - math/costa: Fix build on some systems by removing the -native flag
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Feb 2023 18:43:51 UTC
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 + #