summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authort-nojiri <68096132+t-nojiri@users.noreply.github.com>2020-10-19 12:57:46 +0900
committerGitHub <noreply@github.com>2020-10-18 22:57:46 -0500
commitd16a980640c0f4d17fe58da65279edb9cd322ed1 (patch)
treee61e6a2fb8e3541f9bb6b152d399e153936acd5b /var
parent18391eef58963623f6d8e39e86a1b1a169d7e36d (diff)
downloadspack-d16a980640c0f4d17fe58da65279edb9cd322ed1.tar.gz
spack-d16a980640c0f4d17fe58da65279edb9cd322ed1.tar.bz2
spack-d16a980640c0f4d17fe58da65279edb9cd322ed1.tar.xz
spack-d16a980640c0f4d17fe58da65279edb9cd322ed1.zip
vdt: Removed the -mfpu=neon option for aarch64. (#18134)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vdt/CMakeLists.txt.patch11
-rw-r--r--var/spack/repos/builtin/packages/vdt/package.py2
2 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vdt/CMakeLists.txt.patch b/var/spack/repos/builtin/packages/vdt/CMakeLists.txt.patch
new file mode 100644
index 0000000000..84136e1c97
--- /dev/null
+++ b/var/spack/repos/builtin/packages/vdt/CMakeLists.txt.patch
@@ -0,0 +1,11 @@
+--- spack-src/CMakeLists.txt.bak 2019-02-05 19:20:28.000000000 +0900
++++ spack-src/CMakeLists.txt 2020-08-17 16:54:33.476417139 +0900
+@@ -51,7 +51,7 @@
+ # SIMD and FMA instructions set-------------------------------------------------
+ if (NEON)
+ message(STATUS "Using NEON instructions!")
+- set(PACKED_INSTR "-mfpu=neon ")
++ set(PACKED_INSTR " ")
+ else()
+ if (SSE AND (NOT (AVX OR AVX2) ))
+ message(STATUS "Using SSE instructions!")
diff --git a/var/spack/repos/builtin/packages/vdt/package.py b/var/spack/repos/builtin/packages/vdt/package.py
index 240e39a8e3..77c78e7f27 100644
--- a/var/spack/repos/builtin/packages/vdt/package.py
+++ b/var/spack/repos/builtin/packages/vdt/package.py
@@ -18,6 +18,8 @@ class Vdt(CMakePackage):
version('0.3.7', sha256='713a7e6d76d98f3b2b56b5216e7d5906e30f17865a5c7c889968e9a0b0664949')
version('0.3.6', sha256='fb8f6386f2cd1eeb03db43f2b5c83a172107949bb5e5e8d4dfa603660a9757b0')
+ patch('CMakeLists.txt.patch', when='target=aarch64:')
+
@property
def build_directory(self):
d = join_path(self.stage.path, 'spack-build')