diff options
author | Christoph Junghans <christoph.junghans@gmail.com> | 2017-10-17 02:38:41 -0600 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-10-17 01:38:41 -0700 |
commit | 244c7af864c1cb9484a5d9965b21f046f6c5b3b5 (patch) | |
tree | 991993eb36b3f2499c7edfa5aa756d1b6c21ad31 | |
parent | 1a12e6022b5101aad98212f4c9ac4d570304b7a2 (diff) | |
download | spack-244c7af864c1cb9484a5d9965b21f046f6c5b3b5.tar.gz spack-244c7af864c1cb9484a5d9965b21f046f6c5b3b5.tar.bz2 spack-244c7af864c1cb9484a5d9965b21f046f6c5b3b5.tar.xz spack-244c7af864c1cb9484a5d9965b21f046f6c5b3b5.zip |
flang: clean up (#5766)
-rw-r--r-- | var/spack/repos/builtin/packages/flang/package.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/flang/package.py b/var/spack/repos/builtin/packages/flang/package.py index d64463d4bc..6e1419a03a 100644 --- a/var/spack/repos/builtin/packages/flang/package.py +++ b/var/spack/repos/builtin/packages/flang/package.py @@ -40,13 +40,9 @@ class Flang(CMakePackage): sha256='e46d7ab305e5e95c51f4656d9b52058143cd85d859b312b3c80e93a02d54b4a5', when='@4.0.1', level=1, working_dir='tools/clang')) - def patch(self): - # Don't use -Werror - # https://github.com/flang-compiler/flang/pull/85 - filter_file(r'-Werror', '', 'CMakeLists.txt') - def cmake_args(self): options = [ + '-DWITH_WERROR=OFF', '-DCMAKE_C_COMPILER=%s' % os.path.join( self.spec['llvm'].prefix.bin, 'clang'), '-DCMAKE_CXX_COMPILER=%s' % os.path.join( |