Use separate build directory for gzip (#14994)
* Use separate build directory for gzip At least on mac systems (perhaps because of a case sensitivity issue?) gzip fails to build inside the source tree: ``` config.status: linking /var/folders/fy/x2xtwh1n7fn0_0q2kk29xkv9vvmbqb/T/spack-stage/s3j/spack-stage-gzip-1.10-iatwtuk2l5xgwmuh4pwu5bf27yezpydj/spack-src/GNUmakefile to GNUmakefile config.status: executing depfiles commands ==> Executing phase: 'build' ==> [2020-02-14-09:32:45.502913] 'make' '-j12' make: GNUmakefile: Too many levels of symbolic links make: stat: GNUmakefile: Too many levels of symbolic links make: *** No rule to make target `GNUmakefile'. Stop. ``` * Simplify build directory and add gmake dependency
This commit is contained in:
parent
b9156895ec
commit
8071369ffe
@ -13,3 +13,8 @@ class Gzip(AutotoolsPackage):
|
||||
url = "https://ftp.gnu.org/gnu/gzip/gzip-1.10.tar.gz"
|
||||
|
||||
version('1.10', sha256='c91f74430bf7bc20402e1f657d0b252cb80aa66ba333a25704512af346633c68')
|
||||
|
||||
depends_on('gmake', type='build')
|
||||
|
||||
# Gzip makes a recursive symlink if built in-source
|
||||
build_directory = 'spack-build'
|
||||
|
Loading…
Reference in New Issue
Block a user