From 244c7af864c1cb9484a5d9965b21f046f6c5b3b5 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Tue, 17 Oct 2017 02:38:41 -0600 Subject: flang: clean up (#5766) --- var/spack/repos/builtin/packages/flang/package.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'var') 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( -- cgit v1.2.3-70-g09d2