summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2022-03-17 04:54:53 -0500
committerGitHub <noreply@github.com>2022-03-17 03:54:53 -0600
commitfa9894ae162b024b4092d1c411914a71cb107d18 (patch)
tree252a5d11ad61093c43b6885358947f3bd798fc5a /var
parent3648adc2a77c9ff56f218ec0c23d53a7c77fde73 (diff)
downloadspack-fa9894ae162b024b4092d1c411914a71cb107d18.tar.gz
spack-fa9894ae162b024b4092d1c411914a71cb107d18.tar.bz2
spack-fa9894ae162b024b4092d1c411914a71cb107d18.tar.xz
spack-fa9894ae162b024b4092d1c411914a71cb107d18.zip
assimp: remove -Werror to allow compilation on Intel oneAPI (#29552)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/assimp/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/assimp/package.py b/var/spack/repos/builtin/packages/assimp/package.py
index baaee33450..a0f950a978 100644
--- a/var/spack/repos/builtin/packages/assimp/package.py
+++ b/var/spack/repos/builtin/packages/assimp/package.py
@@ -34,6 +34,9 @@ class Assimp(CMakePackage):
depends_on('zlib')
depends_on('boost')
+ def patch(self):
+ filter_file('-Werror', '', 'code/CMakeLists.txt')
+
def cmake_args(self):
args = [
'-DASSIMP_BUILD_TESTS=OFF',