diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/llvm-lld/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/llvm-lld/package.py | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/var/spack/repos/builtin/packages/llvm-lld/package.py b/var/spack/repos/builtin/packages/llvm-lld/package.py deleted file mode 100644 index ff27c21f94..0000000000 --- a/var/spack/repos/builtin/packages/llvm-lld/package.py +++ /dev/null @@ -1,48 +0,0 @@ -############################################################################## -# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. -# Produced at the Lawrence Livermore National Laboratory. -# -# This file is part of Spack. -# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. -# LLNL-CODE-647188 -# -# For details, see https://github.com/spack/spack -# Please also see the NOTICE and LICENSE files for our notice and the LGPL. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License (as -# published by the Free Software Foundation) version 2.1, February 1999. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and -# conditions of the GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -############################################################################## -from spack import * - - -class LlvmLld(CMakePackage): - """lld - The LLVM Linker - lld is a new set of modular code for creating linker tools.""" - homepage = "http://lld.llvm.org" - url = "http://llvm.org/releases/3.4/lld-3.4.src.tar.gz" - - version('3.4', '3b6a17e58c8416c869c14dd37682f78e') - - depends_on('llvm') - depends_on('cmake@2.8:', type='build') - - def cmake_args(self): - if 'CXXFLAGS' in env and env['CXXFLAGS']: - env['CXXFLAGS'] += ' ' + self.compiler.cxx11_flag - else: - env['CXXFLAGS'] = self.compiler.cxx11_flag - - return [ - '-DLLD_PATH_TO_LLVM_BUILD=%s' % self.spec['llvm'].prefix, - '-DLLVM_MAIN_SRC_DIR=%s' % self.spec['llvm'].prefix, - ] |