[MacPorts] #67367: gromacs, gromacs-plumed @2021.3: Cannot find SSE4.1 compiler flag

MacPorts noreply at macports.org
Wed May 3 06:24:39 UTC 2023


#67367: gromacs, gromacs-plumed @2021.3: Cannot find SSE4.1 compiler flag
------------------------+-------------------------------------
 Reporter:  ryandesign  |      Owner:  dstrubbe
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:  arm64       |       Port:  gromacs, gromacs-plumed
------------------------+-------------------------------------
 Fails to build on all macOS versions on Apple Silicon hardware:

 gromacs:

 https://build.macports.org/builders/ports-
 11_arm64-builder/builds/91314/steps/install-port/logs/stdio \\
 https://build.macports.org/builders/ports-
 12_arm64-builder/builds/93022/steps/install-port/logs/stdio \\
 https://build.macports.org/builders/ports-
 13_arm64-builder/builds/20640/steps/install-port/logs/stdio

 gromacs-plumed:

 https://build.macports.org/builders/ports-
 11_arm64-builder/builds/91315/steps/install-port/logs/stdio \\
 https://build.macports.org/builders/ports-
 12_arm64-builder/builds/93023/steps/install-port/logs/stdio \\
 https://build.macports.org/builders/ports-
 13_arm64-builder/builds/20641/steps/install-port/logs/stdio

 {{{
 -- Performing Test C_msse4_1_FLAG_ACCEPTED
 -- Performing Test C_msse4_1_FLAG_ACCEPTED - Success
 -- Performing Test C_msse4_1_COMPILE_WORKS
 -- Performing Test C_msse4_1_COMPILE_WORKS - Failed
 -- Flag was accepted, but it did not build test source (this could be due
 to either the compiler or binutils)
 -- Performing Test C_arch_SSE4_1_FLAG_ACCEPTED
 -- Performing Test C_arch_SSE4_1_FLAG_ACCEPTED - Failed
 -- Performing Test C_arch_SSE2_FLAG_ACCEPTED
 -- Performing Test C_arch_SSE2_FLAG_ACCEPTED - Failed
 -- Performing Test C_hgnu_FLAG_ACCEPTED
 -- Performing Test C_hgnu_FLAG_ACCEPTED - Failed
 -- Performing Test C_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS
 -- Performing Test C_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS - Failed
 -- Could not find any flag to build test source (this could be due to
 either the compiler or binutils)
 -- Performing Test CXX_msse4_1_FLAG_ACCEPTED
 -- Performing Test CXX_msse4_1_FLAG_ACCEPTED - Success
 -- Performing Test CXX_msse4_1_COMPILE_WORKS
 -- Performing Test CXX_msse4_1_COMPILE_WORKS - Failed
 -- Flag was accepted, but it did not build test source (this could be due
 to either the compiler or binutils)
 -- Performing Test CXX_arch_SSE4_1_FLAG_ACCEPTED
 -- Performing Test CXX_arch_SSE4_1_FLAG_ACCEPTED - Failed
 -- Performing Test CXX_arch_SSE2_FLAG_ACCEPTED
 -- Performing Test CXX_arch_SSE2_FLAG_ACCEPTED - Failed
 -- Performing Test CXX_hgnu_FLAG_ACCEPTED
 -- Performing Test CXX_hgnu_FLAG_ACCEPTED - Failed
 -- Performing Test CXX_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS
 -- Performing Test CXX_COMPILE_WORKS_WITHOUT_SPECIAL_FLAGS - Failed
 -- Could not find any flag to build test source (this could be due to
 either the compiler or binutils)
 CMake Error at cmake/gmxManageSimd.cmake:52 (message):
   Cannot find SSE4.1 compiler flag.  Use a newer compiler, or choose SSE2
   SIMD (slower).
 Call Stack (most recent call first):
   cmake/gmxManageSimd.cmake:121
 (gmx_give_fatal_error_when_simd_support_not_found)
   CMakeLists.txt:662 (gmx_manage_simd)


 -- Configuring incomplete, errors occurred!
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67367>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list