Commit graph

11685 commits

Author SHA1 Message Date
Todd Gamblin
62026ce302 tests: make the dependency patching test more complete
- dependency patching test didn't attempt to apply patches; just to see
  whether they were on the spec.

- it applies the patch now and verifies that that patch was applied.
2018-08-14 14:33:50 -07:00
Adam J. Stewart
85d00c5ef4 Change bzip2 download URL (#8976)
* Change bzip2 download URL

* bzip2.org -> bzip.org
2018-08-14 10:46:15 -06:00
Levi Baber
3d1cfaeb39 r-rots: new package (#8941)
* r-rots: new package

* r-rots: hash is a commit

* r-rots: dep types
2018-08-14 07:14:06 -05:00
Matthias Diener
a1e08f009d Csh: fix load/use commands (#8971) 2018-08-14 09:28:43 +02:00
Satish Balay
783435c1de xsdk: add slepc and amrex [and handle clang conflict wrt amrex] (#8932) 2018-08-13 22:17:17 -07:00
Levi Baber
2b727796da r-argparse: new package (#8944)
* r-argparse: new package

* r-argparse: dep types
2018-08-13 22:21:30 -05:00
Levi Baber
221a1293aa r-genelendatabase: new package (#8938)
* r-genelendatabase: new package

* r-genelendatabase: git not url

* r-genelendatabase: add runtime deps and fix package type

* r-genelendatabase: dep type
2018-08-13 22:21:03 -05:00
Levi Baber
7fd6291d59 r-glimma: new package (#8940)
* r-glimma: new package

* r-glimma: git not url

* r-glimma: adding runtime deps

* r-glimma: dep types
2018-08-13 22:20:41 -05:00
Levi Baber
e1ebc02676 r-edger: new version (#8951) 2018-08-13 22:18:34 -05:00
Levi Baber
8f7b51aa5c r-limma: new version (#8952) 2018-08-13 22:18:12 -05:00
Julien Adam
ae1a9baade git: v2.18.0 (#8965) 2018-08-13 08:06:19 -05:00
Levi Baber
4582567315 r-ctc: new package (#8936)
* r-ctc: new package

* r-ctc: fixing package directory name

* r-ctc:  git not url

* r-ctc: dep types
2018-08-12 19:46:14 -05:00
健美猞猁
7a5d54760e Add samtools 1.9 (#8961)
* Add smtools 1.9.

* Add hstlib 1.9.
2018-08-12 18:54:50 -05:00
健美猞猁
c68fa10e6b Install headers and lib files to destination for legacy apps (#8960)
* Install sam.h and libbam.a for legacy apps.

* Install bam.h.

* Remove which(mkdir).
2018-08-12 11:58:25 -05:00
George Hartzell
0b9434b4ba Add package for fasta (#8953)
* Add package for fasta

Add a package for the fasta sequence alignment tools.

The build system is novel (fasta is "venerable", so...).  The source
tree includes nearly 50 variant Makefiles, the installer is expected
to pick one that's appropriate and then edit the "XDIR" variable to
specify the installation path.  I can only test 64 bit darwin and
linux, so that's all I've included.  I'm also assuming that every
64bit x86 system we'll see supports the SSE2 extensions.  Other
situations can be dealt with when someone has a test case.

* Switch to MakefilePackage and clean up a bit

- Clean up the description
- Switch to MakefilePackage
  - generalize the path to the chosen Makefile
  - implement separate `edit`, `build`, and `install` phases.

* Fix call to format()

* Fix broken if logic
2018-08-11 11:38:31 -05:00
Levi Baber
2a4b7a4dc4 r-goplot: new package (#8942) 2018-08-11 09:26:16 -05:00
Levi Baber
d4349b4945 r-findpython: new package (#8943) 2018-08-11 09:23:34 -05:00
Levi Baber
8ef5beebbf r-sm: new package (#8945) 2018-08-11 09:22:21 -05:00
健美猞猁
c4c84b7567 Add version 5.1.5 for gromacs. (#8948) 2018-08-11 09:21:32 -05:00
Tom Merrick
3addf5c380 Add version 1.12.8 to dbus (#8949) 2018-08-11 09:21:20 -05:00
Levi Baber
08addef275 r-bindrcpp: add new version (#8950)
* r-bindrcpp: add new version

* r-bindrcpp: version ordering and removing r version restriction
2018-08-11 09:21:05 -05:00
健美猞猁
84675e50d1 Add new versions for cmake. (#8955) 2018-08-11 08:38:20 -05:00
健美猞猁
c1daedfdbf Gromacs conflicts with cmake@3.10: . (#8956) 2018-08-11 08:37:51 -05:00
Levi Baber
c2b913d709 r-biasedurn: new package (#8937)
* r-biasedurn: new package

* r-biasedurn: add list_url
2018-08-10 16:08:31 -05:00
Levi Baber
7e1e689e4c r-amap: new package (#8935)
* r-amap: new package

* r-amap: add list_url

* r-amap: dep type
2018-08-10 15:21:22 -05:00
Levi Baber
b78c198b62 r-fastcluster: new package (#8934)
* r-fastcluster: new package

* r-fastcluster: add list_url
2018-08-10 15:01:12 -05:00
jthies
14f6b13a7b Phist 1.6.1 (#8933)
* packages/phist: new version 1.6.1

* packages/phist: depends on Python 3.x for generating Fortran and C++ bindings

* packages/phist: new version 1.7.2

* phist: depend on python@3 only for versions later than 1.7

* packages/phist: depend on python@3: rather than 3

* phist: python dependency is type='build', thans @adamjstewart
2018-08-10 12:53:18 -05:00
Tom Merrick
b1182741d4 Branch with the meson build-system (#8467)
* Branch with the meson build-system

* Fix build_environment for dual loads and add create code

* Add documentation

* Fixed option list

* Update build_system_guess for meson

* Fixed documentation errors

* Added meson to build and configure and updated documentation

* fix typos
2018-08-10 12:52:09 -05:00
Denis Davydov
2a94d59433 boost: add 1.68.0 (#8931) 2018-08-09 17:08:20 -05:00
Scott Wittenburg
2278c65d0a spec: make full_hash look like dag_hash (#8911) 2018-08-09 09:00:49 -07:00
Gregory Lee
bbcb2bb8ca add fgfs variant to stat and develop version (#8919) 2018-08-09 10:56:08 -05:00
Levi Baber
a4d0e62dbd perl6-slurp: new package (#8672)
* perl6-slurp: new package

* perl-perl6-slurp: changing perl version dependency
2018-08-09 10:35:54 -05:00
Hadrien G
9e981fc73f Remove duplicate variant in Boost package (#8923) 2018-08-09 10:29:57 -05:00
Todd Gamblin
ed79d6a11b bugfix: cc handles spaces in flag variables properly
- cc cleanup caused a parsing regression in flag handling

- We added proper quoting to array expansions, but flag variables were
  never actually converted to arrays. Old code relied on this.

This commit:
- Adds reads to convert flags to arrays.
- Makes the cc test check for improper space handling to prevent future
  regressions.
2018-08-09 08:00:22 -07:00
Mark W. Krentel
393d3c64fc libiberty: new package (#8912)
* libiberty: new package

The libiberty.a library from GNU binutils.  Libiberty provides
demangling and support functions for the GNU toolchain.

This package uses the binutils tarfile but only builds the libiberty
subdirectory.  This is useful for other packages that want the
demangling functions without the rest of binutils.

Add variant 'fpic' to compile with -fPIC.

Addresses some issues raised in PR #8806.

* libiberty: change variant name to 'pic'.

Allow libiberty to install the library in lib64 and don't try to copy
it to lib.
2018-08-09 08:19:09 -05:00
Elsa Gonsiorowski, PhD
1cd33e7052 ECP VELOC Package update (#8910)
* update of veloc & dep versions (replace old non-working versions)

* veloc doesn't work with gcc <= 4.9.3

* explicitly pass MPI to CMake for veloc build
2018-08-08 21:40:38 -04:00
Satish Balay
2e891a6312 superlu_dist should be built with 'HAVE_PARMETIS=TRUE'. (#8917) 2018-08-08 20:50:48 -04:00
Todd Gamblin
bb5d83890d cc: refactor flag adding so that it's not in reverse order
- flags were prepended in reverse order to args, but this makes it hard
  to see what order they'll be in on the final command line.

- add them in the order they'll appear to make cc easier to maintain.

- simplify code for assembling the command line

- fix separator used in SPACK_SYSTEM_DIRS test
2018-08-08 01:51:51 -07:00
Todd Gamblin
4210f839e2 cc: restore ccache support in the wrapper, add a regression test
- Add back ccache support to the wrapper.
- Add a regression test to make sure ccache is working properly.
2018-08-08 01:51:51 -07:00
Todd Gamblin
62089d43ef cc: run shellcheck linter on the cc compiler script, minor cleanup
- This corrects most of the issues found by shellcheck

- This also uses ':' as the delimiter for SPACK_SYSTEM_DIRS, for
  consistency with other variables.
2018-08-08 01:51:51 -07:00
Todd Gamblin
b84067f6db cc: don't use sed to filter system directories
- filtering using sed causes most builds to slow down quite a bit, as the
  compiler wrapper has to run sed many times, and *it* runs many times

- do the system directory parsing directly in bash
2018-08-08 01:51:51 -07:00
Todd Gamblin
0e81f6cba5 refactor: clean up and fix the cc test
- Add tests to ensure that RPATHs are not added in cc mode, which can
  cause some builds to fail.

- Change cc.py to use pytest style

- Instead of writing out all the flags, break the flags down into
  variables so that it's easy to read what each test is supposed to
  check. This should make cc.py more maintainable in the future.
2018-08-08 01:51:51 -07:00
Todd Gamblin
c8fb9b5479 bugfix: cc should not add -L or -Wl,-rpath in compile-only mode
- Adding -L and -Wl,-rpath to compile-only command lines ("cc mode" or
  "-c") causes clang (if not also other compilers) to emit warnings that
  confuse configure systems.

- Clang will print warnings about unused command-line arguments.

- This fix ensures that -L and -Wl,-rpath are not added if the compile
  line is just building an object file with -c

- This also cleans up the cc script in several places.
2018-08-08 01:51:51 -07:00
Gregory Becker
683c7fbf3b Restore cc: package search paths come before dependency paths (#4692)
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 of
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-08 01:51:51 -07:00
Mark W. Krentel
f152063898 elfutils: update version and add variants (#8891)
* elfutils: update version and add variants

Add latest version 0.173.

Add variants bzip2, xz and zlib to support reading compressed DWARF
sections, default True.

Move maintainer-mode to a variant with default False.  This is only
useful for developers who want to modify the source for generated
files.

* Add dependency on zlib for reading compressed DWARF sections.

Add variants to use bzip2 and xz for compressed sections.

Remove maintainer mode and the dependencies on flex and bison.
These are not used for one-time builds.

Be sure to squash both the commits and the commit messages.
2018-08-07 14:04:05 -05:00
Micheal Quinn
203bd555a4 Fixing the addition curly brackets to conform to the rest of the templates usage of a literal curly bracket 2018-08-07 19:56:11 +02:00
Micheal Quinn
d163be6a13 Adding logic to the autoload if statement so it only fire if the module is being loaded. 2018-08-07 19:56:11 +02:00
cedricchevalier19
3301e21f06 Fix performance issue when compiling. (#8828)
* Fix performance issue when compiling.

Spack was doing active wait when compiling, spoiling one core.
My fix consists in not setting any timeout for select, instead of
the previous 0 second.

* Fix comments about select.select timeout
2018-08-07 09:13:07 -07:00
Adam J. Stewart
79e7359f4d Add libs attribute to mesa and mesa-glu packages (#8904)
Also fix dependency version in glvis package.
Fixes build errors mentioned in #8454.
2018-08-07 10:18:05 +02:00
Paul Chelarescu
6ef2eb8f7e libstdc++ detection uses os.path.realpath instead of os.readlink (#8865) 2018-08-06 22:30:29 -07:00