summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-09-29make license check slightly more lenientTodd Gamblin1-1/+1
bin/spack now needs to have a "-*- python -*-" line after the shebang, so that emacs will interpret it as a python file instead of as a shell script. Add one line to the license check limit to accommodate this.
2019-09-29prefer Python 3 to Python 2 for running SpackTodd Gamblin1-1/+17
The Python landscape is going to be changing in 2020, and Python 2 will be end of life. Spack should *prefer* Python 3 to Python 2 by default, but we still need to run on systems that only have Python2 available. This is trickier than it sounds, as on some systems, the `python` command is `python2`; on others it's `python3`, and RHEL8 doesn't even have the `python` command. Instead, it makes you choose `python3` or `python2`. You can thus no longer make a simple shebang to handle all the cases. This commit makes the `spack` script bilingual. It is still valid Python, but its shebang is `#!/bin/sh`, and it has a tiny bit of shell code at the beginning to pick the right python and execute itself with what it finds. This has a lot of advantages. I think this will help ensure that Spack works well in Python3 -- there are cases where we've missed things because Python2 is still the default `python` on most systems. Also, with this change, you do not lose the ability to execute the `spack` script directly with a python interpreter. This is useful for forcing your own version of python, running coverage tools, and running profiling tools. i.e., these will not break with this change: ```console $ python2 $(which spack) <args> $ coverage run $(which spack) <args> $ pyinstrument $(which spack) <args> ``` These would not work if we split `spack` into a python file and a shell script (see #11783). So, this gives us the best of both worlds. We get to control our interpreter *and* remain a mostly pure python executable.
2019-09-29The perl-uri-escape package duplicates perl-uri (#12971)Glenn Johnson6-25/+6
* The perl-uri-escape package duplicates perl-uri The Perl URI::Escape module is in the Perl URI package so the Spack perl-uri-escape package is a duplicate of the perl-uri package. This PR does the following: - replace `depends_on('perl-uri-escape')` with `depends_on('perl-uri')` in packages that dependend on perl-uri-escape - add the version from perl-uri-escape to perl-uri - remove the unneeded dependency from perl-uri - remove the perl-uri-escape package * Reinstated perl-test-needs dependency Put the perl-test-needs dependency for perl-uri back in but set it to type='test'. * For tests to succeed the type must be ('build', 'test')
2019-09-28Add all the 'generic' architectures that are mentioned in recipes (#12958)Massimiliano Culpo1-0/+35
LLVM, mesa and other packages check for these generic microarchitectures. One solution is to let Spack know they exist.
2019-09-28raxml: simplified recipe by removing SIMD variants (#12952)Massimiliano Culpo1-46/+12
Now the support for SSE3 or AVX is tested on the selected target
2019-09-28bowtie: fix for aarch64, and bugfix about c++11-narrowing. (#12953)t-karatsu3-0/+86
2019-09-28vdt: simplified recipe by removing SIMD variants (#12954)Massimiliano Culpo1-55/+8
Now the support for SSE3 or AVX is tested on the selected target
2019-09-28correct with-xxx-lib= options (#12964)Jaroslav Hron1-1/+1
2019-09-28update neovim (#12965)Patrick Schratz1-1/+2
2019-09-28bolt: add a new version, 1.0rc2 (#12966)Shintaro Iwasaki1-0/+1
2019-09-27eospac: laws.lanl.gov -> laws-green.lanl.gov (#12970)Daryl W. Grunau1-8/+8
2019-09-27py-adios package: restrict python dependency to <=3.6.x (#12932)Ross Miller1-0/+8
The adios code (currently) won't compile against the Python 3.7 C API. This change adds a dependency on 3.6 or less.
2019-09-27Tau package: turn off unsupported variants by default on OSX (#12890)Kevin Huck1-5/+11
2019-09-27New package: libibumad (#12886)G-Ragghianti1-0/+27
2019-09-27New package: maker and dependencies (#12904)Glenn Johnson42-6/+997
2019-09-26Fix perl build when using Build.PLGlenn P Johnson1-0/+12
This fixes #12852 where perl builds that use Build.PL will fail when the shebang of the Build script produced from the configure step is too long.
2019-09-26qt4: fix 'arch' string due to microarchitecture change (#12957)Seth R. Johnson1-1/+1
qt4 fails to build because it's expecting something like 'x86_64' rather than 'broadwell'.
2019-09-26Relocate mach-o binaries using macholib on linux. (#12946)Patrick Gartung2-95/+74
Changes deps and rpaths for bins and libs, changes id for libs.
2019-09-26add --no-deps opt to `buildcache-create` (#12956)eugeneswalker1-0/+4
2019-09-26External: add macholib and altgraph needed to relocate Mach-o binaries on ↵Patrick Gartung26-0/+5433
Linux (#12909)
2019-09-26Update target comparison semantic for a few packages (#12947)Massimiliano Culpo6-14/+14
Use spec.target.family instead of spec.architecture.target
2019-09-26Removed references to '(-march|-mtune|-mcpu)=native' (#12948)Massimiliano Culpo11-37/+10
Now that Spack injects microarchitecture specific optimizations for the selected target, packages should avoid adding flags that could step over those.
2019-09-26parsimonator: simplified recipe by removing SIMD variants (#12949)Massimiliano Culpo1-49/+11
Now the support for SSE3 or AVX is tested on the selected target
2019-09-25New package: flibcpp (Fortran bindings to C++ standard library) (#12926)Seth R. Johnson1-0/+44
2019-09-25butterflypack package: add version 1.0.3 (#12927)liuyangzhuan1-1/+2
2019-09-25interproscan package: add version 4.8, patch for version 5 (#12897)Glenn Johnson3-3/+222
This PR adds interproscan-4.8, which has a completely different build system than version 5. Note that this builds for running on a host as opposed to a queue system. I am fairly certain that a queue system can be configured later. This PR also adds a patch for intrproscan-5 to build when the user building the packages has a large GID by setting posix mode for tar.
2019-09-25libspatialite package: add version 3.0.1 and missing dependencies (#12843)Sinan1-3/+7
2019-09-25py-imageio package: add versions 2.4.1 and 2.5.0 (#12884)Sinan1-0/+2
2019-09-25llvm, mesa: update target comparison semantics (#12914)Matthieu Dorier2-7/+10
* llvm: fixed issues with syntax and formatting * use spec.architecture.target.family * use spec.target instead of spec.architecture.target * mesa: use == instead of __contains__
2019-09-25libflame: fix macOS build (#12950)Adam J. Stewart2-0/+241
2019-09-25openblas: fixed a query to target family (#12910)Matthieu Dorier1-1/+1
2019-09-25portage: fix RelWithDebInfo build (#12944)Christoph Junghans2-0/+19
2019-09-25kokkos-kernels: initial commit (#12934)Christoph Junghans2-0/+106
2019-09-24Upcxx package: remove warning, add version 2019.9.0 (#12880)Mathias Jacquelin1-38/+28
A function added to this package ran as part of importing it and printed a warning for most Spack invocations, this removes the warning message. Also: * Use compilers directly instead of Spack compiler wrappers (since references to the compiler are embedded in text and binary files of the installation) * Add 'cross' variant for setting CROSS environment variable for build * Set UPCXX_INSTALL for generated module files * Set UPCXX_GASNET_CONDUIT/UPCXX_NETWORK in generated module files on Cray systems * Also set UPCXX_NETWORK in build environment for Cray systems
2019-09-24Fix "specific target" detection in Python 3 (#12906)Adam J. Stewart1-8/+5
The output of subprocess.check_output is a byte string in Python 3. This causes dictionary lookup to fail later on. A try-except around this function prevented this error from being noticed. Removed this so that more errors can propagate out.
2019-09-24heaptrack: added new package at version 1.1.0 (#12844)Simo Tuomisto1-0/+36
2019-09-24Change get_patchelf to immediately return patchelf path if found (#12925)Patrick Gartung1-7/+7
2019-09-24Add missing dependency to perl-xml-parser (#12903)Glenn Johnson1-0/+1
This PR adds the following dependency: + depends_on('perl-libwww-perl', type=('build', 'run'))
2019-09-24Added missing dependencies for perl-list-moreutils (#12900)Glenn Johnson1-0/+3
The following dependencies were added: + depends_on('perl-exporter-tiny', type=('build', 'run')) + depends_on('perl-list-moreutils-xs', type=('build', 'run'))
2019-09-24Added depencies to perl-libwww-perl (#12899)Glenn Johnson1-0/+14
The following dependencies are needed for perl-libwww-perl according to https://metacpan.org: + depends_on('perl-encode-locale', type=('build', 'run')) + depends_on('perl-file-listing', type=('build', 'run')) + depends_on('perl-html-parser', type=('build', 'run')) + depends_on('perl-http-cookies', type=('build', 'run')) + depends_on('perl-http-daemon', type=('build', 'run')) + depends_on('perl-http-date', type=('build', 'run')) + depends_on('perl-http-message', type=('build', 'run')) + depends_on('perl-http-negotiate', type=('build', 'run')) + depends_on('perl-lwp-mediatypes', type=('build', 'run')) + depends_on('perl-net-http', type=('build', 'run')) + depends_on('perl-try-tiny', type=('build', 'run')) + depends_on('perl-uri', type=('build', 'run')) + depends_on('perl-www-robotrules', type=('build', 'run'))
2019-09-24Add missing dependencies to perl-http-daemon (#12898)Glenn Johnson1-0/+2
Added the following dependencies: + depends_on('perl-http-date', type=('build', 'run')) + depends_on('perl-module-build-tiny', type='build')
2019-09-24spdlog: added version 1.4.1 (#12917)Axel Huebl1-1/+23
Add newest release with ability to pre-build as shared or static library.
2019-09-24Fujitsu compilers: added 'verbose_flag' method (#12922)t-karatsu1-0/+4
2019-09-24bugfix: use string keys to set preferred targets (#12921)Todd Gamblin4-9/+32
Preferred targets were failing because we were looking them up by Microarchitecture object, not by string. - [x] Add a call to `str()` to fix target lookup. - [x] Add a test to exercise this part of concretization. - [x] Add documentation for setting `target` in `packages.yaml`
2019-09-23AMD: fix architecture hierarchy (zen) (#12913)Massimiliano Culpo3-17/+45
* microarchitectures: zen starts from x86_64, not from excavator * Unit tests: fixed a test that is wrong with the new modeling * microarchitectures: fixed features and inheritance for 15h family bulldozer doesn't inherit from barcelona (10h) + added xop, lwp and tbm instruction sets to the 15h family (it distinguish the family from 17h)
2019-09-23Fix installation permissions on BLIS and libflame libs (#12919)Adam J. Stewart4-3/+80
* Fix installation permissions on BLIS and libflame libs * Fix undefined symbols
2019-09-23Fix detection of Apple Clang 11.0.0 (#12912)Adam J. Stewart2-1/+6
2019-09-23libceed package: add version 0.5 (#12875)Jed Brown1-2/+3
Also enable vectorization via -O3 for gcc/clang
2019-09-23tests: more template creation tests (#12882)Tamara Dahlgren1-8/+50
Addresses #12804 This PR adds the creation of the remaining (16) templates to ensure we can create them with expected content. The goal is to facilitate catching during testing.
2019-09-23QT package: only enable fontconfig when freetype is enabled (#12574)Seth R. Johnson1-4/+4
The 'fontconfig' option is only valid when freetype is enabled.