-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
math/gismo: Update 21.12.0 -> 21.12.0-882
- Loading branch information
Showing
6 changed files
with
152 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
math/gismo/files/patch-cmake_OptimizeForArchitecture.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- cmake/OptimizeForArchitecture.cmake.orig 2022-12-12 19:13:40 UTC | ||
+++ cmake/OptimizeForArchitecture.cmake | ||
@@ -116,7 +116,7 @@ macro(OFA_AutodetectX86) | ||
string(REGEX REPLACE ".* Family ([0-9]+) .*" "\\1" _cpu_family "${_cpu_id}") | ||
string(REGEX REPLACE ".* Model ([0-9]+) .*" "\\1" _cpu_model "${_cpu_id}") | ||
string(REGEX REPLACE ".* Stepping ([0-9]+) .*" "\\1" _cpu_mstepping "${_cpu_id}") | ||
- endif(CMAKE_SYSTEM_NAME STREQUAL "Linux") | ||
+ endif(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") | ||
if(_vendor_id STREQUAL "GenuineIntel") | ||
if(_cpu_family EQUAL 6) | ||
# taken from the Intel ORM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
- -no-sse2 flag is added by cmake: https://github.com/gismo/gismo/issues/570 | ||
- this triggers the clang crash: https://bugs.llvm.org/show_bug.cgi?id=51468 | ||
|
||
--- cmake/gsConfig.cmake.orig 2022-12-12 19:15:56 UTC | ||
+++ cmake/gsConfig.cmake | ||
@@ -263,7 +263,7 @@ endif() | ||
#string(TOUPPER ${CMAKE_BUILD_TYPE} TEMP) | ||
#message(STATUS "Using compilation flags: ${CMAKE_CXX_FLAGS}, ${CMAKE_CXX_FLAGS_${TEMP}}") | ||
|
||
-if("x${CMAKE_BUILD_TYPE}" STREQUAL "xRelease") | ||
+if(FALSE AND "x${CMAKE_BUILD_TYPE}" STREQUAL "xRelease") | ||
#https://github.com/VcDevel/Vc/blob/master/cmake/OptimizeForArchitecture.cmake | ||
include( OptimizeForArchitecture ) | ||
OptimizeForArchitecture() |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.