summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-08-01Small patch for netlib-lapack. (#8854)Sergey Kosukhin2-0/+18
2018-08-01Conflict for cmake 3.11.x and Intel. (#8855)Sergey Kosukhin1-0/+3
2018-08-01cc: package search paths come before dependency paths (#4692)becker334-158/+330
Spack currently prepends include paths, library paths, and rpaths to the compile line. This causes problems when a header or library in the package has the same name as one exported by one of its dependencies. The *dependency's* header will be preferred over the package's, which is not what most builds expect. This also breaks some of our production codes. This restores the original cc behavior (from *very* early Spack) of parsing compiler arguments out by type (`-L`, `-I`, `-Wl,-rpath`) and reconstituting the full command at the end. `<includes> <other_args> <library dirs> <rpaths>` This differs from the original behavior in one significant way, though: it *appends* the library arguments so that dependency libraries do not shadow those in the build. This is safe because semantics aren't affected by *interleaving* `-I`, `-L`, and `-Wl,-rpath` arguments with others, only with each other (so the order fo two `-L` args affects the search path, but we search for all libraries on the command line using the same search path). We preserve the following: 1. Any system directory in the paths will be listed last. 2. The root package's include/library/RPATH flags come before flags of the same type for any dependency. 3. Order will be preserved within flags passed by the build (except system paths, which are moved to be last) 4. Flags for dependencies will appear between the root flags and the system flags, and the flags for any dependency will come before those for *its* dependencies (this is for completeness -- we already guarantee this in `build_environment.py`)
2018-08-01docs: minor text changes (#8858)Holly3-13/+13
2018-08-01lmod: fix use of custom separator in prepend_path etc. (#8737)Stephen Herbein4-3/+66
fixes #8736
2018-07-31lmod: add version 7.8 (#8838)Geoffrey Oxberry1-0/+1
2018-07-31docs: update `spack view` argument synatx (#8839)Stephen Herbein1-2/+2
The `--dependencies` and `--exclude` flags are now arguments to the `spack view` comand rather than the `spack view symlink` command.
2018-07-30slepc: add blopex variant (#8820)Geoffrey Oxberry1-0/+14
2018-07-30Add extra_rpaths to OpenMPI wrappers (#8687)Jon Rood1-0/+7
If the OpenMPI build finds the infiniband drivers in /usr/lib64, it adds -Wl,-rpath -Wl,/usr/lib64 to the OpenMPI wrappers. If the wrappers are using a compiler outside of /usr, and the OpenMPI wrappers are used to build software outside of Spack, they will rpath /usr/lib64 into the executable which then has GLIBC, GLIBCXX runtime errors due to it picking up GCC libraries in /usr/lib64. This adds the directories specified in "extra_rpaths" to the OpenMPI wrappers, which allows them to use the correct compiler when invoked outside of Spack builds.
2018-07-30GSL: 2.5 is a new version. (#8827)Kelly (KT) Thompson1-0/+1
2018-07-29spec: `Spec.tree()` merges deptypes when only covering nodes (#8821)Todd Gamblin2-8/+56
- previously, output could be confusing when deptypes were only shown for one dependent when a node had *multiple* dependents - also fix default coverage of `Spec.tree()`: it previously defaulted to cover only build and link dependencies, but this is a holdover from when those were the only types.
2018-07-29libunwind: document platform=darwin conflict (#8824)Geoffrey Oxberry1-0/+3
2018-07-27added Tasmanian versions 5.1 and development, enabled the Tasmanian options ↵Miroslav Stoyanov1-3/+90
through +~ flags (#8804)
2018-07-27Skip update check. (#8683)健美猞猁1-0/+5
* Skip update check. * mkefile -> makefile. * Fix emboss.
2018-07-27Fixed a typo in the docs (the docker image to pull was wrong) (#8814)Massimiliano Culpo1-1/+1
2018-07-27gcc: Add 8.2.0 (#8813)Michael Kuhn1-0/+1
2018-07-27Fix shift warning on zsh (#8805)Michael Kuhn1-2/+10
When using zsh, trying to shift when there are no arguments left results in warnings like this: spack:shift:22: shift count must be <= $#
2018-07-26py-numpy: Add CPATH in modulefile (#8466)Oliver Breitwieser1-3/+11
Also fix setup_dependent_package to include the ".egg-less"-include path. Change-Id: I06e66a505ece25cba8896f47e69a5be374bac6d2
2018-07-26Updated llvm to version 6.0.1. The previous 6.0.0 had an incorrectly … (#8801)Neil Flood2-0/+20
* Updated llvm to version 6.0.1. The previous 6.0.0 had an incorrectly declared symbol, discussed at https://reviews.llvm.org/D44140, which, amongst other things, broke py-numba. This version works fine with py-numba. * Flag the conflict between py-numba and llvm@6.0.0 * Removed a single trailing space to satisfy checks
2018-07-26sz: new version 2.0.2.0 (#8786)Sheng Di1-4/+11
2018-07-26hdf5: Fix build with %gcc@8 (#8788)Michael Kuhn1-0/+4
2018-07-26halc: Create new package. (#8795)lingnanyuan1-0/+48
* halc: Create new package. * fix flake8 error. * Modification
2018-07-26FTGL package workarounds (#8812)Hadrien G2-0/+21
* FTGL package workarounds * Remove blank line * Only require doxygen at build time
2018-07-26AMReX: update package.py (#8697)mic841-49/+51
2018-07-26Templight package (#8782)Hadrien G3-0/+247
* First draft of a templight recipe * Let's be explicit for now, we can be clever later on * The clang6 version does not work, drop it * Reorder FIXMEs more logically * Add patch for current templight develop branch * Create an artificial stable release of templight * Take some additional inspiration from llvm package * Added the templight supporting tools * Remove old notes from the no-url branch * Avoid unnecessary join_path
2018-07-26hmmer: added version 3.2.1 & updated URL (#8787)Simon Flood1-9/+2
Add HMMER 3.2.1 and updated URL then removed url_for_version function as no longer required - all HMMER downloads available from updated URL.
2018-07-26papi: Update to 5.6.0 and fix build with %gcc@8 (#8796)Michael Kuhn1-0/+5
2018-07-26Add package DMTCP (#8808)Mario Melara1-0/+36
2018-07-26mfem: mfem-3.3-3.4-petsc-3.9.patch is not needed for latest develop version ↵Satish Balay1-1/+1
(#8809)
2018-07-26readme: add our @spackpm Twitter handle (#8810)Todd Gamblin1-0/+6
2018-07-25intel-tbb: Add `tm` variant to disable transactional memory. (#8799)Mark W. Krentel2-0/+21
* intel-tbb: Add variant `tm` to disable transactional memory. Some AMD or very old Intel systems don't support transactional memory. This commit adds a variant `tm` that defaults to `True`, but can be switched off to allow running on those systems.
2018-07-25Add docs on new top-level VCS attributesAdam J. Stewart2-112/+184
2018-07-25Unit test fixesAdam J. Stewart4-13/+1
2018-07-25Further improvements to version parsingAdam J. Stewart33-60/+38
2018-07-25All git URLs end in .gitAdam J. Stewart15-19/+19
2018-07-25Replace git=git with explicit branch namesAdam J. Stewart29-33/+32
2018-07-25Add top-level attributes for git R-Z packagesAdam J. Stewart71-194/+204
2018-07-25Add top-level attributes for git R (Bioconductor) packagesAdam J. Stewart141-360/+307
2018-07-25Add top-level attributes for git M-P packagesAdam J. Stewart104-343/+287
2018-07-25Add top-level attributes for hg, svn, and git A-L packagesAdam J. Stewart152-486/+461
2018-07-25tests: convert mirror test to pytest with free functions.Todd Gamblin1-44/+47
2018-07-25tests: add checks and tests for consistent version() argumentsTodd Gamblin10-32/+91
- Previously, Spack didn't check the arguments you put in version() directives. - So, you could do something like this, where there are arguments for a URL fetcher AND for a git fetcher: version('1.0', md5='abc123', git='https://foo.bar', commit='feda2343') - Now, we check the arguments before constructing a fetcher, to ensure that each package has *only* arguments for a single type of fetcher. - Also added `test_package_version_consistency()` to the `package_sanity` test, so that all builtin packages are required to have valid `version()` directives.
2018-07-25tests: correct name of `check_db` to `check_repo`Todd Gamblin1-7/+6
- this test is checking the package *repository*, not the database.
2018-07-25core: differentiate package-level fetch URLs by args to `version()`Todd Gamblin5-86/+282
- packagers can specify two top-level fetch URLs if one is `url` - e.g., `url` and `git` or `url` and `svn` - allow only one VCS fetcher so we can differentiate between URL and VCS. - also clean up fetcher logic and class structure
2018-07-25core: add check for conflicting top-level fetch attributes in packagesTodd Gamblin4-6/+35
- ensure that packages can't have more than one of git, hg, svn, or url
2018-07-25style: clean up exception definitions in package.pyTodd Gamblin1-7/+2
2018-07-25core: fixes and tests for handling of fetcher attributes in packagesTodd Gamblin9-40/+389
- Packages can remove the top-level `url` attribute and still work - These are now legal: - Packages with *only* version-specific URLs (even with gaps) - Packages with a top-level git/hg/svn attribute and `version` directives for that. - If a package has both a top-level hg/git/svn attribute AND a top-level url attribute, the url attribute takes precedence.
2018-07-25core: quick fix for packages without URLsAdam J. Stewart1-11/+0
Some packages do not have a `url` and are instead downloaded via `git`, `hg`, or `svn`. Some packages like `spectrum-mpi` cannot be downloaded at all, and are placeholder packages for system installations. Previously, `__init__()` in `PackageBase` crashed if a package did not have a `url` attribute defined. I hacked this section of code out, but I have no idea what the repercussions of that are.
2018-07-25hypre: 'master' is branch - not a tagSatish Balay1-1/+1
2018-07-26Added latest version of charliecloud (#8792)sknigh1-0/+1