summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-30significant llvm updateTom Scogland3-127/+176
This update significantly reworks the llvm and clang packages. The llvm package now includes variants allowing it to build and install any and all of: * clang * lldb * llvm's libunwind (why, WHY did they name it this?!?) * polly (including building it directly into the clang tools, 3.7.0 only) * clang extra tools * compiler-rt (sanitizers) * clang lto (the gold linker plugin that allows same to work) * libcxx/libcxxabi * libopenmp, also setting the default openmp runtime to same, when parameters happen this shoudl be an option of libomp or libgomp Ideally, this should have rpath setup like the gcc package does, but clang's driver has no support for specs as such, and no clearly equivalent mechanism either. If anyone has ideas on this, they would be welcome. One significant note related to gcc though, if you test this on LLNL systems, or anywhere that has multiple GCCs straddling the dwarf2 boundary and sharing a libstdc++, build a gcc with spack and use that to build clang. If you use a gcc4.8+ to build this with an older libstdc++ it will fail on missing unwind symbols because of the discrepancy. Resource handling has been changed slightly to move the unpacked archive into the target rather than use symlinks, because symlinks break certain kinds of relative paths, and orders resource staging such that nested resources are unpacked after outer ones.
2015-12-30allow nested resourcesTom Scogland1-1/+3
This solution doesn't really make me happy, but does seem to work. It sorts the resources by the length of the string representing their destination. Since any nested resource must contain another resource's name in its path, it seems that should work, but there should be a better way to do this.
2015-12-30adding errno import for the deep directory creation patchTom Scogland1-0/+1
2015-12-30create leading directories for resourcesTom Scogland1-1/+8
This allows resources to be placed into subdirectory trees that may not exist in the base package, and may depend on other resources to be staged later.
2015-12-30legacy mysql bindings for pythonTom Scogland1-0/+15
2015-12-30python libraries, libedit, and ninjaTom Scogland6-0/+98
A pile of libraries and tools, libedit is actually important as a replacement of readline for non-GPL projects. Also ninja may be worthwhile for some of the larger CMake projects, like llvm/clang.
2015-12-30removing ill-fated array check for non-portabilityTom Scogland1-1/+0
2015-12-30Revert "removing check as it can cause failures in zsh"Todd Gamblin5-206/+38
This reverts commit 496e4856916cb881da916539635e9bfa3e1406af. Undo overly large set of changes -- LLVM wasn't ready. Tom can recommit just the zsh stuff.
2015-12-30removing check as it can cause failures in zshTom Scogland5-38/+206
2015-12-29Merge pull request #285 from trws/args-checkTodd Gamblin1-5/+4
fix for array handling in ancient bash
2015-12-29fix for array handling in ancient bashTom Scogland1-5/+4
fixes #284
2015-12-26Merge pull request #277 from LLNL/bugfix/vcs-mirror-fetchTodd Gamblin2-16/+41
Fix #85 and #228: errors fetching VCS packages from a mirror.
2015-12-24Merge pull request #211 from LLNL/bugfix/github-154Todd Gamblin1-11/+29
Fix #154 -- better log messages for do_patch()
2015-12-24Fix #154 -- better log messages for do_patch()Todd Gamblin1-11/+29
2015-12-23Fix #85 and #228: errors fetching VCS packages from a mirror.Todd Gamblin2-16/+41
- Stage and fetcher were not being set up properly when fetching using a different fetch strategy than the default one for the package. - This is fixed but fetch/stage/mirror logic is still too complicated and long-term needs a rethink. - Spack will now print a warning when fetching a checksum-less tarball from a mirror -- users should be careful to use https or local filesystem mirrors for this.
2015-12-23Merge pull request #276 from LLNL/bugfix/235-smarter-spiderTodd Gamblin4-82/+183
Fix #235: Smarter web spidering -- use parsed links instead of recons…
2015-12-23Fix #235: Smarter web spidering -- use parsed links instead of reconstructing.Todd Gamblin4-82/+183
- Move `find_versions_of_archive` from spack.package to `spack.util.web`. - `spider` funciton now just uses the link parsing it already does to return links. We evaluate actual links found in the scraped pages instead of trying to reconstruct them naively. - Add `spack url-parse` command, which you can use to show how Spack interprets the name and version in a URL.
2015-12-22Fix bug in URL regex.Todd Gamblin1-1/+1
2015-12-22revert accidental print statements.Todd Gamblin1-5/+0
2015-12-22More consistent URL parsing when finding versions.Todd Gamblin2-4/+10
Versions found by wildcard URLs are different from versions found by parse_version, etc. The wildcards are constructed more haphazardly than the very specific URL patterns in url.py, so they can get things wrong. e.g., for this URL: https://software.lanl.gov/MeshTools/trac/attachment/wiki/WikiStart/mstk-2.25rc1.tgz We miss the 'rc' and only return 2.25r as the version if we ONLY use URL wildcards. Future: Maybe use the regexes from url.py to scrape web pages, and then compare them for similarity with the original URL, instead of trying to make a structured wildcard URL pattern? This might yield better results.
2015-12-22Merge pull request #257 from eschnett/eschnett/hwloc-1.11.2Todd Gamblin2-1/+9
Update hwloc; don't require libpciaccess on OS X
2015-12-22Merge pull request #269 from eschnett/eschnett/rsync-3.1.2Todd Gamblin1-0/+1
Update rsync to 3.1.2
2015-12-22Update rsync to 3.1.2Erik Schnetter1-0/+1
2015-12-22Skip installing libpciaccess on DarwinErik Schnetter2-2/+8
2015-12-22Update hwloc; don't require libpciaccess on OS XErik Schnetter1-2/+4
- hwloc 1.11.2 is available. - libpciaccess is not supported on OS X; don't require it there.
2015-12-22Merge pull request #266 from LLNL/bugfix/python3-setuptools-conflictTodd Gamblin1-3/+8
fix conflict with setuptools and cached pyc files
2015-12-22fixed site pyc regular expressionGregory L. Lee1-1/+1
2015-12-22Merge pull request #261 from LLNL/features/prefer-versions-in-packagesTodd Gamblin2-3/+10
Add ability to prefer particular versions in packages.
2015-12-22only ignore cached site.py fileGregory L. Lee1-2/+1
2015-12-22Merge pull request #263 from nolta/hdf5-mpiTodd Gamblin1-4/+2
fix non-mpi hdf5 package build
2015-12-22Merge pull request #264 from nolta/typosTodd Gamblin2-2/+2
fix a few comment typos
2015-12-22Merge branch 'nolta-249' into developTodd Gamblin1-3/+12
2015-12-22Slightly more robust tmp directory search.Todd Gamblin1-4/+12
- remove getcwd() check (seems arbitrary -- if users set their TMPDIR to this why stop them?) - try a number of common locations and try per-user directories in them first.
2015-12-22Merge pull request #265 from epfl-scitas/packages/valgrindTodd Gamblin1-0/+55
valgrind : added package
2015-12-22fix conflict with setuptools and cached pyc filesGregory L. Lee1-2/+8
2015-12-22valgrind : added packagealalazo1-0/+55
2015-12-21fix a few comment typosMike Nolta2-2/+2
2015-12-21fix non-mpi hdf5 package buildMike Nolta1-4/+2
Fixes a couple of issues in c5b7eba45743ebd131233c035101a0e64bb0c1c7.
2015-12-21fix #249 (tmp spack-stage directories conflict)Mike Nolta1-2/+3
2015-12-21Add ability to prefer particular versions in packages.Todd Gamblin2-3/+10
- Adding `preferred=True` to a version directive will change its sort order in concretization. - This provides us a rudimentary ability to keep the Spack stack stable as new versions are added. - Having multiple stacks will come next, but this at least allows us to specify default versions of things instead of always taking the newest.
2015-12-21new python versionsGregory L. Lee1-0/+2
2015-12-21remove numpy compiler patchGregory L. Lee1-7/+0
2015-12-21Merge pull request #208 from epfl-scitas/features/resource_directiveTodd Gamblin8-41/+287
resource directive : implementation + clang / llvm use case
2015-12-21Merge pull request #215 from sjtbham/developTodd Gamblin1-3/+18
fix build to work against depends for modules created by setup.py and…
2015-12-20Merge pull request #255 from LLNL/bugfix/254-libtool-compiler-name-issuesTodd Gamblin23-15/+77
Fix #254: libtool & distutils want certain compiler names.
2015-12-20Merge pull request #231 from epfl-scitas/packages/scotchTodd Gamblin1-14/+100
scotch: adding dependencies + variants for mpi, shared, compression and esmumps
2015-12-20Merge pull request #251 from epfl-scitas/packages/tauTodd Gamblin6-63/+226
Improved build of tau and related dependencies
2015-12-20tau : scorep is now a variantalalazo1-3/+6
2015-12-20removing completely the write_make_inc functionNicolas Richart1-7/+3
2015-12-20moving write_make_inc into a patch functionNicolas Richart1-1/+4