summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-06-12Update remaining packages to use Stage.source_path (#11662)Tamara Dahlgren11-30/+46
#11528 updated Stage to always store a Package's source in a fixed directory accessible via `Stage.source_path` This left behind a number of packages which were expecting to access the source code via `Stage.path`. This Updates those packages to use `Stage.source_path` instead. This also updates the name of the fixed directory: The original name of the fixed directory was "src", so if an expanded archive created a "src" directory, then users inspecting the directory structure could see paths like "src/src" (which wasn't wrong but could be confusing). Therefore this also updates the name of the fixed directory to "spack-src".
2019-06-12Make "spack compiler find" check PATH by default (#11683)Massimiliano Culpo5-21/+60
Fixes #11678 `spack compiler find` was not searching `PATH` when provided with no arguments. ea7910a updated the API for the search function and the command logic did not update how it called this function. This also adds a test to ensure that `spack compiler find` will collect compilers from `PATH`.
2019-06-12warpx: only allow master branch, and fix build on darwin (#11667)Dave1-3/+24
* warpx: only allow master branch, and fix build on darwin * warpx: Added CXXFLAGS=-std=c++11 for clang * warpx: further clean up of openmp and c++11 flags * warpx: Get around the problem with resources The update uses placement instead of destination
2019-06-12Fixed Flecsi Backend Dependencies (#11679)Robert Pavel1-14/+28
Fixed logic behind flecsi backends to not require legion for an mpi build and to better support required combinations. Also made graphviz support and tutorial building optional
2019-06-11Add additional common C++ and Fortran header file extensions (#11600)Adam J. Stewart1-1/+8
* Add additional common C++ and Fortran header file extensions * Add .hxx extension * Add .txx and .tcc extensions * Add .icc extension
2019-06-11new python package/py-typesentry (#11657)Sinan1-0/+20
* new python package/py-typesentry * add proper version
2019-06-11Add support for using python3 in new verison of VTK. (#11673)Dan Lipsa1-3/+12
* Add support for python3 in new versions of VTK.
2019-06-11Add extra logic for C std flags on PGI, XL, and Cray (#11635)Chuck Atkins3-7/+57
2019-06-11Paraview: Add motionfx Intel workaround (#11608)psakievich2-0/+11
* Paraview/VTK: Fix failure on intel builds Paraview@5.6.0 fails to build with intel compilers on certain platforms. Error messages have been traced to the optional MotionFX lib. (see https://discourse.paraview.org/t/error-build-5-6-0-rc1/572) Turning off motionfx allows for succesful builds on these platforms.
2019-06-10Fix recursive module find for upstream dependencies (#11304)Peter Scheibel4-64/+223
"spack module tcl find -r <spec>" (and equivalents for other module systems) was failing when a dependency was installed in an upstream Spack instance. This updates the module index to handle locating module files for upstream Spack installations (encapsulating the logic in a new class called UpstreamModuleIndex); the updated index handles the case where a Spack installation has multiple upstream instances. Note that if a module is not available locally but we are using the local package, then we shouldn't use a module (i.e. if the package is also installed upstream, and there is a module file for it, Spack should not use that module). Likewise, if we are instance X using upstreams Y and Z like X->Y->Z, and if we are using a package from instance Y, then we should only use a module from instance Y. This commit includes tests to check that this is handled properly.
2019-06-10Add latest releases for pFUnit (#11642)Daniel Topa1-1/+9
* Add latest releases for pFUnit - 3.2.10, 3.3.0, 3.3.1, 3.3.2, 3.3.3 - 3.2.9 now with sha256 - 4.0.0 is added, but commented out (build fails, see errors) Verification builds Darwin x86_64: dantopa@cn100:pr-pfunit-darwin-general.spack $ spack find pfunit ==> 5 installed packages -- linux-centos7-x86_64 / gcc@4.8.5 ----------------------------- pfunit@3.2.9 pfunit@3.2.10 pfunit@3.3.0 pfunit@3.3.1 pfunit@3.3.2 pfunit@3.3.3 Darwin Power9: -- linux-rhel7-ppc64le / gcc@4.8.5 ------------------------------ pfunit@3.2.9 pfunit@3.2.10 pfunit@3.3.0 pfunit@3.3.1 pfunit@3.3.2 pfunit@3.3.3 Darwin ARM: dantopa@cn805:pr-pfunit-darwin-arm.spack $ spack find pfunit ==> 5 installed packages -- linux-rhel7-aarch64 / gcc@4.8.5 ------------------------------ pfunit@3.2.9 pfunit@3.2.10 pfunit@3.3.0 pfunit@3.3.1 pfunit@3.3.2 pfunit@3.3.3 2019-05-05 Signed-off-by: Daniel Topa <dantopa@lanl.gov> * answer @citibeth comments Signed-off-by: Daniel Topa <dantopa@lanl.gov> * shortened offending comment to comply with flake8; suppressed error message on entry for v4.0.0 Signed-off-by: Daniel Topa <dantopa@lanl.gov> * removed tailing space qt 20:55 Signed-off-by: Daniel Topa <dantopa@lanl.gov>
2019-06-10ninja{-fortran}: make pkgs nonvirtual (fix #11628) (#11629)Geoffrey Oxberry3-6/+0
2019-06-10ParaView and Catalyst use python3. (#11485)Dan Lipsa2-13/+65
Use python3 for latest paraview and catalyst versions.
2019-06-10CD: Package Index (#11665)Axel Huebl5-0/+53
Build the docker image for the new package index REST API on each merge/push to develop and master.
2019-06-10Remove gnutls dependency and disable openssl when appropriate (#11646)Chuck Atkins1-4/+9
2019-06-10Define LDFLAGS when using fujitsu compiler (#11669)t-karatsu1-0/+3
2019-06-08dateutils: new package (#11623)Quinn1-0/+19
* Adding the dateutils package * Removing superfluous dependencies
2019-06-08tests: restore `spack spec mpileaks` in test output for Python 2 (#11664)Todd Gamblin1-5/+3
- also remove coverage calls of these commands - we JUST want coverage to tell us what is in the test suite.
2019-06-08concretization: don't apply build-dep constraints for installed packages ↵Peter Scheibel3-5/+85
(#11594) Spack currently tries to unify everything in the DAG, but this is too strict for build dependencies, where it is fine to build a dependency with a tool that conflicts with a version fo that tool for a dependent's build. To enable a workaround for conflicts among build dependencies, so that users can install in multiple steps to avoid these conflicts, make the following changes: * Dont apply package dependency constraints for build deps of installed packages * Avoid applying constraints for installed packages vs. concrete packages * Mark all dependencies of installed packages as visited in normalization method * don't remove dependency links for concrete specs in flat_dependencies Also add tests: * Update test to ensure that link dependencies of installed packages have constraints applied * Add test to check for proper handling of transitive dependencies (which is currently not the case)
2019-06-08fix qt build on gcc8.3 (#11633)Omar Padron3-7/+476
* fix qt build on gcc8.3 * source patches from upstream * remove old code adding the same patch
2019-06-08Add ADIOS2 option to Trilinos (#11609)Francois Budin1-1/+7
ADIOS2 is the latest implementation of the ADaptable Input Output System, ADIOS. This brand new architecture was designed to continue supporting the performance legacy of ADIOS, and extend its current capabilities to address current and future input/output (IO) challenges in the scientific data lifecycle through effective research and development (R&D) activities. ADIOS2 was recently added as a Third Party Library of Trilinos when it was integrated to IOSS, a library inside the SEACAS package.
2019-06-07spack list: latest version (JSON) (#11652)Axel Huebl4-1/+81
List the latest version of each package in JSON encoding. Preparation for consumption for a "spack badge" service.
2019-06-07Compiler search uses a pool of workers (#10190)Massimiliano Culpo17-302/+503
- spack.compilers.find_compilers now uses a multiprocess.pool.ThreadPool to execute system commands for the detection of compiler versions. - A few memoized functions have been introduced to avoid poking the filesystem multiple times for the same results. - Performance is much improved, and Spack no longer fork-bombs the system when doing a `compiler find`
2019-06-07add openmp variant to lammps (#11643)Jeffrey Salmond1-1/+5
* add openmp variant to lammps * add conflict for %gcc@9: and +openmp
2019-06-06commands: remove unused `spack list --format=rst` (#11651)Todd Gamblin2-79/+0
- We use `spack list --foramt=html` now, as it is much faster and doesn't make the docs build take forever. - Remove `spack list --format=rst` as it is no longer used.
2019-06-06added tix package and python variant for tix (#11599)Gregory Lee4-2/+58
* added tix package and python variant for tix * addressing tix review requests * python +tix requires +tkinter
2019-06-06bugfix: StageComposite must include the `expanded` property` (#11647)Todd Gamblin1-0/+4
2019-06-06bugfix: lua-luafilesystem package should use stage.source_path (#11648)Todd Gamblin1-2/+1
2019-06-06tests: package_sanity now checks packages in 3rd-party repos (#11637)Jennifer Herting1-2/+1
2019-06-05travis: disable `spack spec` for python 2.7 as well as 2.6Todd Gamblin1-1/+1
- keep this disabled until the `compiler find` fork bomb is fixed.
2019-06-05tests: add extra coverage for fetch strategy testsTamara Dahlgren4-8/+142
2019-06-05stage: make `source_path` available before stage is builtTamara Dahlgren6-207/+535
- `stage.source_path` was previously overloaded; it returned `None` if it didn't exist and this was used by client code - we want to be able to know the `source_path` before it's created - make stage.source_path available before it exists. - use a well-known stage source path name, `$stage_path/src` that is available when `Stage` is instantiated but does not exist until it's "expanded" - client code can now use the variable before the stage is created. - client code can test whether the tarball is expanded by using the new `stage.expanded` property instead of testing whether `source_path` is `None` - add tests for the new source_path semantics
2019-06-05refactor: remove unused spack.stage._get_mirrors() functionTamara Dahlgren1-37/+24
2019-06-05tty: make tty.* print exception typesTamara Dahlgren15-26/+55
- make tty.msg, tty.info, etc. print the exception type and stringified message if the message argument is an exception. - simplify parts of the code that call tty.debug(str(e)) - add extra tty.debug statements in places where exceptions were previously ignored
2019-06-05nettle: fix broken build (#11611)Justin S1-0/+3
* nettle: force C99 build * nettle: update to use c99_flag from @alalazo Co-Authored-By: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2019-06-05lammps: added v20190605 (#11638)Christoph Junghans1-0/+1
2019-06-05clang: fix error messages in c11_flag, cxx17_flag (#11632)Justin S1-2/+2
2019-06-05libxpm: revert change made in unrelated PR (#11634)Patrick Gartung1-3/+3
2019-06-05set GUILE env var when building gnutls, fixes issue #11601 (#11607)Gregory Lee1-0/+7
2019-06-05graph: refactor static graphsTodd Gamblin4-100/+73
- `spack graph --static` (and `spack.graph.dot_graph`) now do the "right thing" and print the possible dependency graph of provided packages. - `spack graph --static` no longer concretizes specs, as it only relies on class level metadata - Previously the behavior was not consistent -- `spack graph --static` would graph possible dependencies of concrete specs, but would only include some of them. The new code properly pursues all possible dependencies, and allows traversing by different dependency types.
2019-06-05spack dependencies: support --deptype argumentTodd Gamblin4-10/+47
- `spack dependencies` can now take a --deptype argument to only traverse particular deptypes - add a new "common" argument for deptype in spack.cmd.common.arguments - Database.installed_relatives() can now also take a deptype argument - this is used by `spack dependencies --installed`
2019-06-05package: make possible_dependencies consider deptypesTodd Gamblin3-16/+93
- `PackageBase.possible_dependencies` now: - accepts a deptype param that controls dependency types traversed - returns a dict mapping possible depnames to their immediate possible dependencies (this lets you build a graph easily) - Add tests for PackageBaes
2019-06-05refactor: remove vestigial ALLOWED_URL_SCHEMES from package.pyTodd Gamblin1-4/+0
2019-06-05refactor: make Package.name consistent with other class attributesTodd Gamblin2-11/+18
- The 'name' attribute for packages was being set in DirectiveMeta, which wasn't consistent with other class properties (like fullname, etc.) - Move it to be a class property of `PackageMeta`, and add the corresponding property method wrapper on `PackageBase`
2019-06-05refactor: make PackageBase.possible_dependencies() a class method.Todd Gamblin1-4/+5
2019-06-05add C standard flags to compiler classes (#11618)Justin S7-0/+90
* add c99_flag, c11_flag to compiler class * implement c99_flag, c11_flag for gcc * implement c99_flag, c11_flag for arm * implement c99_flag for cce * implement c99_flag, c11_flag for clang * implement c99_flag, c11_flag for intel * implement c99_flag, c11_flag for xl
2019-06-04Add Google Benchmark version 1.5.0 (#11626)Andrew Gaspar1-1/+3
2019-06-04Revert "Git: patch to make git relocatable with buildcache. (#11596)" (#11625)Patrick Gartung2-58/+0
This reverts commit 30ec13f37584ad2934ecdf5a4e86d93d35b3a76c.
2019-06-04modules: set permissions based on package configuration (#11337)Greg Becker5-52/+99
Previously, module files were not set with the same permissions as the package installation. For world-readable packages, this would not cause a problem. For group readable packages, it does: ``` packages: mypackage: permissions: group: mygroup read: group write: group ``` In this case, the modulefile is unreadable by members of the group other than the one who installed it. Add logic to the modulefile writers to set the permissions based on the configuration in `packages.yaml`
2019-06-04Buildcache relocate.py error fix (#11616)Patrick Gartung3-5/+5
* Add a trailing / if file --mime does not return a mimetype with a / in it * Flake8