Commit graph

9052 commits

Author SHA1 Message Date
健美猫
8890dbe3d9 Add a new packag: sofa-c. (#7470) 2018-03-24 20:51:02 +01:00
Todd Gamblin
54f97d1dec
Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
健美猫
756cb4e6d7 Add a new package: graph500. (#7499)
* Add a new package: graph500.

* Remove leading comments.

* graph500 is a MakefilePackage.

* Update.

* Update.
2018-03-24 11:48:31 -05:00
Todd Gamblin
af0f94a1af
Avoid stat-ing all packages at startup. (#7587)
- FastPackageChecker was being called at startup every time Spack runs,
  which takes a long time on networked filesystems.  Startup was taking
  5-7 seconds due to this call.

- The checker was intended to avaoid importing all packages (which is
  really expensive) when all it needs is to stat them.  So it's only
  "fast" for parts of the code that *need* it.

- This commit makes repositories instantiate the checker lazily, so it's
  only constructed when needed.
2018-03-24 07:39:10 -07:00
Todd Gamblin
998b5a6482
Remove case consistency check at startup. (#7585)
- This was needed when we transitioned to all lowercase packages because
  git didn't handle case changes well on case-insensitive filesystems.

- Now it just adds extra stat calls to startup, and we check for
  all-lowercase package names in tests, so we'll remove it.

- people using really old versions of Spack can re-clone.
2018-03-23 22:38:31 -07:00
Mario Melara
385622953d Cray clean environment (#7582)
* Create unload_module method

Extract code from load_module into unload_module.

* Unload modules to create a clean env on Cray

removes cray-libsci, cray-mpich and darshan to prevent any silent
linking with those packages.
2018-03-23 14:53:52 -07:00
Adam J. Stewart
666e8e3a9b Increment Spack version (#7565) 2018-03-23 14:43:22 -07:00
becker33
1c169ead8b
Grab crayos version from PrgEnv module versions (#7583) 2018-03-23 14:41:43 -07:00
Adam J. Stewart
5b810579fa
Only add python flag for newer versions of glib (#7579) 2018-03-23 15:35:09 -05:00
Jon Rood
04358f827f Adding bc and ed packages. (#7578)
* Adding bc package.

* Adding ed package which is actually a dependency of bc.
2018-03-23 15:24:35 -05:00
xfzhao
9799e6062d beast1: new package (#7544)
* beast1: new package

* beast1: taking suggestion
2018-03-23 15:19:26 -05:00
Mario Melara
2970a50ef6 Add the ability to separate architecture in path scheme (#4329)
* Add format to separate target and os for path

spec format can now handle separations of target and os for setting
up the path.

* Added ${PLATFORM} et al to spec.format()

${PLATFORM}, ${OS}, ${TARGET}

* Update tests

Updated tests and got rid of unnecessary code.

* Also update documentation to reflect this new ability.

* Add default path scheme to config.yaml

Added default path scheme to config.yaml. Users can overwrite this
section if they want.
2018-03-23 12:05:07 -07:00
healther
1391f0db44 add matplotlib version 2.2.2 (#7572) 2018-03-23 14:40:18 +01:00
Denis Davydov
adf972e7ff intel performance libraries: add 2018.2 (#7569) 2018-03-23 13:49:59 +01:00
Federico Ficarelli
213a3de539 Fix tclsh command for transitive dependencies (#7566) 2018-03-23 10:05:54 +01:00
Alfredo Adolfo Gimenez
a37acfc1e9 Dyninst links broken, everything switched to github (#6066) 2018-03-22 20:29:17 -05:00
Veselin Dobrev
4ddbc96c7b Speedup the default 'libs' property search ... (#7553)
* Speedup the default 'libs' property search - important for external
packages.

* As advised by @alalazo, use tuples instead of lists inside
_libs_default_handler.
2018-03-22 20:04:28 -05:00
Matthias Diener
a0494003a2 mc: create new package (#7564)
* mc: new package

* Update package.py

* Update package.py

* Update package.py
2018-03-22 19:48:48 -05:00
Veselin Dobrev
3858d4a3a3 [hypre] add the 'headers' property (#7278)
* [hypre] Add the 'headers' property plus a small tweak in the 'libs'
property.

* [hypre] Add fallbacks for searching for '.libs' in 'prefix.lib64' and
in all of 'prefix'.

* [hypre] Fix style.

* [hypre] Use find_headers instead of find + HeaderList.
2018-03-22 19:43:23 -05:00
jthies
2e4378bcd0 added a new package file for PHIST (Pipelined, Hybrid-parallel Iterat… (#7361)
* added a new package file for PHIST (Pipelined, Hybrid-parallel Iterative Solver Toolkit)

* packages/phist: fix some formatting errors (too long lines etc)
and set allowed values for option "outlev"

* packages/phist: fix some more flake8 errors

* add headers  property to netlib-lapack and intel-mkl

* ghost: fix finding cblas header and libs (at least for mkl and netlib-lapack, which provide headers())

* added a new package file for PHIST (Pipelined, Hybrid-parallel Iterative Solver Toolkit)

* packages/phist: fix some formatting errors (too long lines etc)
and set allowed values for option "outlev"

* packages/phist: fix some more flake8 errors

* phist: use headers property to find lapacke include dir

* phist: fix flake8 error

* phist: be more specific about dependencies and update version

* phist: state trilinos minimum version when building with Tpetra kernels

* gmp: add oldish version 5.1.3 with checksum

* phist: get rid of the 'petsc+complex' variant, it can be installed by kernel_lib=petsc ^petsc+complex

* phist: new version

* phist: fix version checksum

* Revert "add headers  property to netlib-lapack and intel-mkl"

This reverts commit d8cb62905ebfb2cba186fd2d736d54a88a49d089.

* Revert "ghost: fix finding cblas header and libs (at least for mkl and netlib-lapack, which provide headers())"

This reverts commit d406a77ed7879c124fbaf1d757d002b9f0771620.

* phist: remove unused function

* phist: reorder package file versions/variants/depends_on/rest

* phist: some minor changes requested by @adamjsteward
2018-03-22 19:42:38 -05:00
Eric
9a3a9860df perl-json: Create new package (#7431) 2018-03-22 19:41:50 -05:00
Adam J. Stewart
666341599c
Add py-cvxopt package (#7527)
* Add py-cvxopt package

* Flake8 fixes
2018-03-22 19:38:46 -05:00
Adam J. Stewart
1f23693877
Fix giflib unit tests on macOS/BSD (#7519)
* Fix giflib unit tests on macOS/BSD

* Unit tests occasionally fail when run in parallel
2018-03-22 19:38:17 -05:00
Adam J. Stewart
f721fb3e4c
Fix error raising during install with Python 3 (#6894)
* Fix error raising during install with Python 3

* Fix env_path too
2018-03-22 19:37:49 -05:00
Adam J. Stewart
32a78eae73
Add latest version of MPFR and patches for older versions (#7545)
* Add latest version of MPFR and patches for older versions

* Fetch and checksum patches instead of storing them

* Fix bug, version attribute was being overridden
2018-03-22 19:37:01 -05:00
Sinan
8d4ef999d7 package/py-pyutilib: create new package (#7555) 2018-03-22 21:49:07 +01:00
Gregory Lee
be3f08d0de llvm+python+lldb depends on py-six for versions 5 and up (#7056) 2018-03-22 15:42:41 -05:00
Massimiliano Culpo
0d7652c508 Used names with __ in class level constructs to avoid rebinding (#7563)
fixes #3129
2018-03-22 15:41:55 -05:00
Adam J. Stewart
06e1fdb237 Add latest version of MPC (#7546) 2018-03-22 21:10:58 +01:00
Adam J. Stewart
9c0fb6ccee Add latest version of ISL (#7547) 2018-03-22 21:09:43 +01:00
Sinan
5e7fc91d8a add versions 1.9.6 1.9.7 (#7562) 2018-03-22 21:07:34 +01:00
Massimiliano Culpo
5655895865 Record installation date and time in DB (#7334)
* Added installation date and time to the database

Information on the date and time of installation of a spec is recorded
into the database. The information is retained on reindexing.

* Expose the possibility to query for installation date

The DB can now be queried for specs that have been installed in a given
time window. This query possibility is exposed to command line via two
new options of the `find` command.

* Extended docstring for Database._add

* Use timestamps since the epoch instead of formatted date in the DB

* Allow 'pretty date' formats from command line

* Substituted kwargs with explicit arguments

* Simplified regex for pretty date strings. Added unit tests.
2018-03-22 11:07:27 -07:00
Massimiliano Culpo
6699ba8769 Recover the old patching order for packages. (#7558)
fixes #7543

This is very likely an hot-fix, while a more permanent solution is
needed. See this comment for more insight:

 https://github.com/spack/spack/pull/7193#discussion_r176448831

on the problem.
2018-03-22 10:09:43 -07:00
Levi Baber
c8a8079c34 meme: fix errors (#6736)
* meme: added perl-xml-parser dependency, resolved issue. still need to fix ghostscript or image-magick, conversion not working.

* meme: fixed issue with libxslt/libxml2 conflict, and added imagemagick support

* meme: removing libxslt/libxml2 dependency lines

* meme: configure args

* meme: separating configure args

* meme: removing a comment, and hoping for travis to rebuild. site seems back up.

* meme: make image-magick optional

* meme: add comment referencing PR

* meme: bah flake8
2018-03-22 12:06:24 -05:00
Federico Ficarelli
9280eba214 tcl-tclxml: new package (#7557) 2018-03-22 07:36:59 -05:00
Adam J. Stewart
aa84ddffed
Add latest version of eigen (#7530)
* Add latest version of eigen

* Fix bug in ptscotch detection
2018-03-22 07:25:26 -05:00
Federico Ficarelli
e71681458b tcl-tcllib: new package (#7481) 2018-03-22 06:35:37 +01:00
becker33
f8657e3fd9 Propagate architecture information during concretization (#7412)
This updates architecture concretization to

* Search for the nearest parent in the DAG for architecture information
  rather than defaulting to the root of the DAG
* Propagate architecture settings transitively, such that if for
  example the target is set at the root of the dag it will set the
  same target on indirect dependencies (assuming no intermediate
  dependency specifies a separate target). Previously this occurred
  in general but under some conditions did not, for example if an
  intermediate dependency specified some subset of architecture
  properties.
2018-03-21 18:14:01 -07:00
Veselin Dobrev
6f0472ea87 [MUMPS] Remove the injection of rpath_args through the inject_libs
variable. This should happen automatically through the Spack compiler
wrapper.
2018-03-21 17:55:04 -07:00
Michael Sternberg
726c7e0f06 Opt avx (#7486)
* Promote to Autotools for simplicity; broaden Intel CPU opt targeting from SSE4.2 to AVX2

* make Intel CPU opt targeting same as in ../libxc

* flake8 W291

* use canonical means to pass (ahem) the test phase, h/t @adamjstewart

* revert f25d598 (unrelated merge)

* re-merge
2018-03-21 19:53:19 -05:00
Leonhard Reichenbach
973a131dac Add latest versions of bazel (#7542)
* Add latest versions of bazel

* Added java as dependency to run bazel
2018-03-21 19:52:28 -05:00
Eric Müller
f5afc98cc2 libXi requires pkgconfig and fixesproto (#7480) 2018-03-21 19:51:58 -05:00
Levi Baber
b0ecd0fd0b py-pybedtools: fix hash for 0.6.9 (#7492) 2018-03-21 19:51:34 -05:00
Levi Baber
383c2aa2d6 Singularity: new version (#7551)
* singularity: new version

* singularity: hash
2018-03-21 19:50:53 -05:00
Eric
81dcd1b33a perl-module-implementation: Create new package (#7549) 2018-03-21 17:16:24 -05:00
Julien Adam
a81ebfc2ba New Package: jchronoss (#7207)
* New Package: jchronoss

* jchronoss: Fix flake8 errors

* jchronoss: Fix according to recommendations

* jchronoss: Remove FIXME

* jchronoss: Fix another flake8 error
2018-03-21 16:56:20 -05:00
lingnanyuan
a2b885d0ba r-dirichletmultinomial: Create new package. (#7227)
* r-dirichletmultinomial: Create new package.

* Change description.

* Change description.
2018-03-21 16:55:35 -05:00
scheibelp
6548f2db5c Enable creation of mirrors for systems with different compilers (#5153)
* Create mirror for system with different compilers

Spack concretizes the spec provided by the user in
"spack mirror create" to ensure downloading the right
dependencies. Under normal circumstances concretization
requires that the chosen compiler exists on the system,
but this is not required when creating download mirrors
for other systems, so this requirement is removed in that
case.

* Add test for disabling compiler existence check

* Update compiler existence checking logic

* improve test for disabling compiler existence check
2018-03-21 14:55:26 -07:00
Eric
88fb67768d py-python-levenshtein: Create new package (#7426)
* py-python-levenshtein: Create new package

* py-python-levenshtein: fix flake8 errors

* py-python-levenshtein: Use pypi.io per packaging guide
2018-03-21 16:54:51 -05:00
Eric
08f3ebf859 perl-cairo: Create new package (#7432)
* perl-cairo: Create new package

* perl-cairo: Add cairo dependency
2018-03-21 16:54:25 -05:00