manta: make it build on aarch64 (#22630)
This commit is contained in:
parent
68cec598dc
commit
a0f9ffd80c
2 changed files with 13 additions and 0 deletions
11
var/spack/repos/builtin/packages/manta/for_aarch64.patch
Normal file
11
var/spack/repos/builtin/packages/manta/for_aarch64.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- spack-src/src/cmake/boost.cmake.bak 2019-06-29 07:04:47.000000000 +0900
|
||||
+++ spack-src/src/cmake/boost.cmake 2021-03-30 11:36:39.000000000 +0900
|
||||
@@ -168,6 +168,8 @@
|
||||
message (FATAL_ERROR "Failed to unpack boost library ${THIS_BOOST_VERSION}")
|
||||
endif ()
|
||||
execute_process(
|
||||
+ COMMAND "sed" -i "s/-m64//g" ${BOOST_BUILD_DIR}/boost_1_58_0/tools/build/src/tools/gcc.jam)
|
||||
+ execute_process(
|
||||
COMMAND ${CMAKE_COMMAND} -E touch "${BOOST_BUILD_DIR}/boost_unpack_complete")
|
||||
endif ()
|
||||
|
|
@ -22,3 +22,5 @@ class Manta(CMakePackage):
|
|||
depends_on('cmake@2.8.12:', type='build')
|
||||
depends_on('python@2.7.0:2.7.999', type=('build', 'run'))
|
||||
depends_on('zlib')
|
||||
|
||||
patch('for_aarch64.patch', when='target=aarch64:')
|
||||
|
|
Loading…
Reference in a new issue