forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Be less specific about gettext with ~libxml2 can use libc+iconv or gettext with or without libxml2 initial round of ups compatability from prev release readonly bootstrap (cvmfs) workaround package updates from fnal-develop added ups compat files more missing files moderncmakedomain package per_os_scope Redo of FNALssi/spack #94 redo of FNALssi #162 Revert "redo of FNALssi #162" This reverts commit f92ed6e. Someone fixed the geant4 recipe with a for loop in the recipe instead, so not doing this after all. redo of FNALssi #161 more cleanups from fnal-develop More lib64 fun speling of startswith version
- Loading branch information
1 parent
590c788
commit 0348adc
Showing
15 changed files
with
104 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,10 @@ | |
import spack.build_environment | ||
import spack.builder | ||
import spack.package_base | ||
import spack.util.path | ||
from spack.directives import build_system, conflicts, depends_on, variant | ||
from spack.multimethod import when | ||
import archspec.cpu | ||
|
||
from ._checks import BaseBuilder, execute_build_time_tests | ||
|
||
|
@@ -274,8 +276,13 @@ def std_args(pkg, generator=None): | |
generator, | ||
define("CMAKE_INSTALL_PREFIX", pathlib.Path(pkg.prefix).as_posix()), | ||
define("CMAKE_BUILD_TYPE", build_type), | ||
define("BUILD_TESTING", pkg.run_tests), | ||
] | ||
|
||
# if we're building for a 64 bit system, prefer lib64 paths | ||
if str(archspec.cpu.host().generic).find("_64_") > 0: | ||
args.append(define('FIND_LIBRARY_USE_LIB64_PATHS', True)) | ||
|
||
# CMAKE_INTERPROCEDURAL_OPTIMIZATION only exists for CMake >= 3.9 | ||
if pkg.spec.satisfies("^[email protected]:"): | ||
args.append(define("CMAKE_INTERPROCEDURAL_OPTIMIZATION", ipo)) | ||
|
@@ -450,6 +457,7 @@ def cmake_args(self): | |
* CMAKE_INSTALL_PREFIX | ||
* CMAKE_BUILD_TYPE | ||
* BUILD_TESTING | ||
which will be set automatically. | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters