Commit graph

5991 commits

Author SHA1 Message Date
Todd Gamblin
f202198777 Convert lazy singleton functions to Singleton object
- simplify the singleton pattern across the codebase
- reduce lines of code needed for crufty initialization
- reduce functions that need to mess with a global

- Singletons whose semantics changed:
  - spack.store.store() -> spack.store
  - spack.repo.path() -> spack.repo.path
  - spack.config.config() -> spack.config.config
  - spack.caches.fetch_cache() -> spack.caches.fetch_cache
  - spack.caches.misc_cache() -> spack.caches.misc_cache
2018-05-17 14:10:30 -07:00
Todd Gamblin
6f2cac9565 init: initialize spack.store lazily
- spack.store was previously initialized at the spack.store module level,
  but this means the store has to be initialized on every spack call.

- this moves the state in spack.store to a singleton so that the store is
  only initialized when needed.
2018-05-17 14:10:30 -07:00
Todd Gamblin
a4d276fbe4 init: factor paths out of spack/__init__.py and into spack.paths module 2018-05-17 14:10:30 -07:00
Denis Davydov
d579231967 flex: use 2.6.3. by default (#8154)
Fixes #8152

Flex 2.6.4 doesn't build with gcc@7:. This sets Flex 2.6.3 as the
preferred version. The flex package had a conflict directive for
this but originally the recorded conflict was specific to ubuntu;
this appears to be an issue on multiple operating systems so this
also updates the conflict to be more general and adds a comment
which links to the relevant issues.
2018-05-17 13:58:29 -07:00
lingnanyuan
a46f2b8e42 swap-assembler: Create new package. (#8144)
* swap-assembler: Create new package.

* swap-assembler: fix flake8 error.
2018-05-17 15:43:30 -05:00
Christoph Junghans
110511da92 pv: initial commit (#8147) 2018-05-17 15:40:54 -05:00
Levi Baber
0141581a66 r-rstan: new version and dependents (#8158)
* r-stanheaders: new version

* r-rstan: new version

* r-rcppeigen: new version

* r-rstan: requires newer version of r-rcppeigen
2018-05-17 15:26:38 -05:00
Serban Maerean
e24a56b8cb Add version 6.1. to ESSL spackage file. (#8170) 2018-05-17 15:04:28 -05:00
Jim Galarowicz
dfd168d557 cbtf-argonavis-gui: add openspeedshop-utils package to address qt conflicts (#8066)
Fixes #7946

Creates an openspeedshop-utils package that does not depend on qt3
and can be used to resolve the needs of cbtf-argonavis-gui.

Changes for creating a release versus develop build are also
included. There are package versions which are no longer relevant
(e.g. 1.3.0 for cbtf-argonavis-gui has been replaced with 1.3.0.0)
but these versions need to be kept to allow uninstalling them;
issue #8173 has been created to investigate this.
2018-05-17 12:04:33 -07:00
Adam J. Stewart
de7d13b0e8
Add dependencies for py-dask (#8120) 2018-05-16 22:54:33 -05:00
健美猞猁
b895386fd7 r-rcppcnpy: a new package. (#8139)
* r-rcppcnpy: a new package.

* Specify dependency versions.

* Update dependency.
2018-05-16 12:45:24 -05:00
Eric
218e32991d Add list_url to allow download of prior versions from cran archive (#8141) 2018-05-15 22:10:20 -05:00
David Böhme
e3035fb91a Add libunwind-1.2.1 (#8145) 2018-05-15 13:54:23 -07:00
Denis Davydov
e0dcd87af9 astyle: add 3.1 (#8137) 2018-05-15 09:43:27 -05:00
Serban Maerean
0598f70de2 patch petsc test cases for XL compiler (#8091)
- After spack install, these test cases are built in a seperate step, outside of spack, but they need to patched after staging so users don't have to do it in a seperate step.

- The test cases are installed under `<petsc install directory>/share/petsc/examples` and can be built and executed by invoking `gmake -f gmakefile.test` in that directory.
2018-05-14 23:53:05 -07:00
Robert Pavel
b956608631 Added Shim to Support hdf5+mpi in Spack Silo (#8130)
* Added Shim to Support hdf5+mpi in Spack Silo

Added compatibility for hdf5+mpi to silo spackage to support spackages
with dependency chains that include silo and hf5+mpi

* Fixed fixable flake8 issue with silo spackage

Fixed missing whitespace around operator

* Setting MPI Variant to Default to True

As per guidance changing variant to default to MPI builds
2018-05-14 20:29:03 -05:00
snehring
538d617d14 salmon: adding in version restriction for boost (#8129)
1.67 does not work with this
2018-05-14 18:48:28 -05:00
Cameron Smith
3a7fadd67e prenek missing X.h (#8121) 2018-05-14 18:19:46 -05:00
lingnanyuan
34a2d35e50 lordec: Create new package. (#8095)
* lordec: Create new package.

* lordec: Add homepage, change to MakefilePackage.

* Modify dependency type.
2018-05-14 16:56:49 -05:00
Eric
6cf1d25d14 r-fit-models: Create new package (#8122) 2018-05-14 16:50:54 -05:00
Eric
c5b1336b69 r-vipor: Create new package (#8128) 2018-05-14 16:38:59 -05:00
Brian Van Essen
281e22ed73 LBANN: add hydrogen as optional dependency (#8085)
Add Hydrogen package for fork of Elemental library. Update LBANN
to use either Hydrogen or Elemental.
2018-05-14 11:58:34 -07:00
Eric
e7a737621f r-shinydashboard: Create new package (#8116) 2018-05-14 13:00:18 -05:00
Eric
28982bd103 r-picante: Create new package (#8117)
* r-picante: Create new package

* Remove dependency already included in RPackage base class
2018-05-14 13:00:03 -05:00
Eric
f2cc7f769b r-squash: Create new package (#8118)
* r-squash: Create new package

* Remove dependency already included in RPackage base class

* remove extra file
2018-05-14 12:59:49 -05:00
Sajid Ali
a47ff73c6e Update py-llvmlite to reflect llvm@6 requirement for versions >0.23.0 (#8109)
* 	new file:   package.py

* corrected using pep8online.com

* Update package.py

* correct typo

* as requested

* 	modified:   package.py

* Update package.py
2018-05-14 11:26:01 -05:00
Levi Baber
b5d578a5e1 Aegean: new package (#8113)
* aegean: new package

* genometools: set dependent env for aegean
2018-05-14 11:10:19 -05:00
Christoph Junghans
1aef372fbf charliecloud: fix copyright (#8115) 2018-05-14 11:09:57 -05:00
Denis Davydov
42137d59ef dealii: another fix for quick tests only in 9.0 and thus hash (#8114) 2018-05-14 11:07:19 -05:00
健美猞猁
341132a87f A new pacakge: Kaiju. (#8111)
* A new package: kaiju.

* Replace ftp:// with https://.
2018-05-14 11:07:00 -05:00
Levi Baber
32662c4edb hisea: new package (#8112) 2018-05-14 09:46:54 -05:00
Sajid Ali
0dabe81a20 Add numexpr 3 (#8107)
* 	new file:   package.py

* corrected using pep8online.com

* Update package.py

* correct typo

* as requested
2018-05-14 09:46:14 -05:00
Denis Davydov
635f3e2969 dealii: update hash due to upstream changes (#8105) 2018-05-14 10:49:26 +02:00
healther
05cd983e10 add version 0.6.2 to yaml-cpp (#7931) 2018-05-14 10:44:27 +02:00
Sajid Ali
36b4c899fb Add cmake for newer version of libjpeg-turbo (#8102)
* 	modified:   package.py

* add official build reference.

* Update package.py

* Update package.py

* Update package.py

* fixed with pep8online.com

* update make to make()

* change homepage
2018-05-13 22:01:36 -05:00
Christoph Junghans
9f4c2a65a8 charliecloud: initial commit (#8106) 2018-05-13 22:00:18 -05:00
dorier
e758820ed7 boost: added the +numpy variant which enables building libboost_numpy (#8104)
* added the +numpy variant which enables building the libboost_numpy libraries

* Update package.py

Added `type=('build', 'run')`
2018-05-13 21:54:12 -05:00
Jon Rood
2d53043361 Create custom PATH that texlive requires in its module. (#8064)
* Create custom PATH that texlive requires in its module.

* Updating texlive to 2018 distribution.

* Using platform instead of sys for easier portability across linux and osx.
2018-05-12 18:40:36 -05:00
Yifan Zhu
8270344042 plink: new source version 1.9-beta5 (#8076)
* plink: new source version 1.9-beta5

* plink: replace version 1.9 with 1.07
2018-05-12 18:38:22 -05:00
George Hartzell
8dd5ac357c Add package for "bumpversion" (#8078)
* Add package for "bumpversion"

bumpversion is a tool that automagically increments version numbers
for projects.  It can update files and do other magic along the way.

* Remove py- package prefix and use pypi.io URL

Renamed the package 'bumpversion'.

Fetch the package from pypi.io.

* Add version info for bumpverion@0.5.3
2018-05-12 18:37:10 -05:00
Yifan Zhu
97f1b36c07 r-cdcfluview: new package (#8089)
* r-cdcfluview: new package

* updated package.py
2018-05-12 18:28:18 -05:00
Massimiliano Culpo
867bd9b48c
nfft: added version 3.4.1 Moved package to github (#8099) 2018-05-12 17:25:28 +02:00
Massimiliano Culpo
36ee0cbf88
netcdf: added version 4.6.1 (#8098) 2018-05-12 17:24:59 +02:00
Yifan Zhu
262de64792 shoremap: new package (#7343) 2018-05-12 08:22:45 +02:00
Denis Davydov
e271f14493 dealii: add 9.0.0 (#8096) 2018-05-11 21:59:25 -05:00
Howard Pritchard
efbc230742 pmix: add 1.2.5 and 2.0.3 bug fix releases (#8097)
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2018-05-11 21:58:29 -05:00
Levi Baber
35e1af9acc masurca: new version (#8094)
* masurca: new version

* masurca: reorder versions
2018-05-11 14:43:21 -05:00
scheibelp
79669ac647
llvm: replace @when with internal check in @run_before (#8092)
Fixes #8088

#7012 added a @when condition for a @run_before check to constrain
that check to only run on Darwin. @when is intended to be used to
choose one of several different implementations of a given function
and cannot be used to conditionally deactivate a check altogether.

This replaces the external decorator with a check that executes at
the beginning of the function.
2018-05-11 12:32:26 -07:00
Mayeul d'Avezac
5bc970f9b6 adds new version to swiftsim (#8093) 2018-05-11 10:32:30 -05:00
Denis Davydov
28bebe13a8 dealii: disable tpetra when +cuda; check for '' in cuda_arch (#7958)
* dealii: disable tpetra when +cuda; check for '' in cuda_arch

* trilinos: fix Kokkos CUDA

* Revert "trilinos: fix Kokkos CUDA"

This reverts commit 6aae894bc7d49c9e736c06f65b81b8c219443920.

* update according to @aprokop comments

* minor

* fix flake8
2018-05-11 08:50:35 -05:00