Commit graph

6714 commits

Author SHA1 Message Date
jiseung
cf2a96a3f5 Packages/smc (#4999)
* new package: SMC

* removed template and added proxy-app tag

* added comp variant in edit()

* edited comp variant in edit()

* move executable and input file into bin and install readme and license
2017-08-07 12:59:12 -05:00
scheibelp
5a94cee216 Variant satisfaction for indirect dependencies
Fixes #4898

Constraints that were supposed to be conditionally activated for
specified values of a single-valued variant were being activated
unconditionally in the case that the variant was associated with
an implicit dependency. For example if X->Y->Z and Y places a
conditional constraint on Z for a given single-valued variant on
Y, then it would have been applied unconditionally when
concretizing X.
2017-08-07 10:48:48 -07:00
Adam J. Stewart
392603e90b Make GCC binutils variant default to False (#4973) 2017-08-07 10:13:31 -07:00
Audrey Thoma
c53b1b9ad1 rsem: new package (#4991) 2017-08-07 10:04:20 -07:00
Audrey Thoma
45c227c1a3 vsearch: new package (#4993) 2017-08-07 10:02:54 -07:00
Audrey Thoma
c0e2204908 velvet: new package (#4996) 2017-08-07 10:01:50 -07:00
George Hartzell
0bd55cb8ce Limit make_jobs for boost < 1.59 (#4984)
Earlier versions of boost had a fixed maximum number of jobs.  1.54
was 64, it bumped once or twice afterwards and in 1.59 [this
commit][commit] it became dynamic.

I need 1.54 for as a prereq for bcl2fastq but I can't build 1.54 on my
144 core build box.

This fixes that.

[commit]: 316e26ca71
2017-08-06 15:23:13 -05:00
Adam J. Stewart
afc4f9c3c2 Download from pypi.io, not pypi.python.org (#4981) 2017-08-06 11:45:00 -05:00
Adam J. Stewart
0acee2f4b1 Add a new package for fastjar (#4983) 2017-08-05 16:05:12 -05:00
snehring
db74f4c3a1 Add a new package for IcedTea (#4804)
* alsa-lib: new package

* cups: new package

* icedtea: new package

* icedtea: adding JAVA_HOME variable

* alsa: removing placeholder

* icedtea: typo fix

* alsa: fixing formattting

* icedtea: formatting fixes and cleanup

* icedtea: additional cleanup

* jdk: adding provides('java') to jdk, setting jdk to default java.

* icedtea: adding jdk as a dependency

* java: changing depends_on('jdk') and similar entries to depends_on('java')

* icedtea: removing unused imports, trying to placate flake8.

* fastqc: fixing flake8 error

* bazel: fixing typo in java dependency

* jdk: changing provides java to a range

* icedtea: cleaning up. Splitting up checksums.

* icedtea: jdk dependency is build only
2017-08-05 14:53:09 -05:00
George Hartzell
ab0ea3cec4 Fix libbsd's cdefs.h to be compatible with gcc 4.8.x (#4979)
* Fix cdefs macro to be compatible with gcc 4.8.x

See the discussion in #4945 (after the merge) for additional
background.

libbsd builds with gcc@5.4.0 on CentOS 7, but not with the system's
gcc@4.8.5.  Others have reported problems with gcc@4.8.3 on Fedora 19.

The problem boils down to the lack of support for the clang extension
`__has_include_next`.  The immediate symptom seems to be the
pre-processor using defining macro like this

```
```

then then tripping over an expansion of it like this:

```
blah.h:13:23: error: missing binary operator before token "("
```

This patch changes the macro definition to:

```
```

which swallows the arguments with which the macro is invoked.

The end result is that libbsd builds for me on CentOS 7 using the
system compiler.

* Apply this patch for any compiler version before 5

This includes subversions of 4, like 4.8.5.
2017-08-05 13:33:24 -05:00
Mark Olesen
9f6c9d8afa Version: dev -> develop (for openfoam-org) (#4974) 2017-08-05 13:33:07 -05:00
Abhinav Bhatele
0117e1b76b add proxy-app tag to the lulesh package (#4951) 2017-08-05 13:32:40 -05:00
Adam J. Stewart
2a03585de6 gitignore everything in /etc/spack except /etc/spack/defaults (#4459)
* gitignore everything in /etc/spack except /etc/spack/defaults

* Don't ignore subsubdirectories of /etc/spack/defaults
2017-08-05 13:18:19 -05:00
Jia Li
41361cffea Fixed OpenBLAS compilation error on POWER8 with GCC 7. (#4783)
* Fixed compilation error on POWER8 with GCC 7.

* Restrict patch to ppc64 with gcc.
2017-08-05 12:56:04 -05:00
Audrey Thoma
6485c3feb5 snap-berkeley: new package (#4855)
* snap: new package

* changing name and adding stable release
2017-08-05 12:42:33 -05:00
snehring
cf017baa8d chlorop: new package (#4865)
* chlorop: new package

* chlorop: moving main script to bin and moving runtime tmp location.

* chlorop: fixing flake8 error.

* chlorop: cleaning up, removing CHLOROTMP, advising user to set it.

* chlorop: removing unused import
2017-08-05 12:39:44 -05:00
Sam Bateman
ce6d357161 Correct boost +mpi for Cray compiler wrappers (#4909) 2017-08-05 12:06:46 -05:00
Axel Huebl
50bf261197 Add ADIOS2 (#4944)
Adds ADIOS2, the C++ Exascale HPC I/O rewrite of ORNL's ADIOS
library.

Currently, many variants (especially for data transforms such as
compression) are not yet added. It already provides Python bindings.
2017-08-05 12:05:38 -05:00
Kelly (KT) Thompson
c54108cf63 Moab depends on BLAS. (#4952) 2017-08-05 12:04:12 -05:00
Adam J. Stewart
a31ce17f0b Various fixes to package name URL parsing (#4978) 2017-08-05 10:15:47 -05:00
Adam J. Stewart
c7df12f698 Massive conversion from Package to CMakePackage (#4975) 2017-08-05 10:15:18 -05:00
Adam J. Stewart
17cdb73be7 Add latest version of numpy and scipy (#4982) 2017-08-05 15:37:53 +02:00
Adam J. Stewart
7eb263effe Add a SConsPackage base class (#4936)
* Add a SConsPackage base class

* Make Matlab extendable

* Most dependencies are actually required

* Cantera requires older version of fmt
2017-08-04 16:52:10 -05:00
Adam J. Stewart
b8ed61cfea Make CMake the default build system (#4862) 2017-08-04 14:53:05 -05:00
Massimiliano Culpo
9be294de31 Changed every 'fpic' variant to 'pic' (#4969)
* Changed every 'fpic' variant to 'pic'. fixes #2463

Every variant that activates compilation of position independent code
has been changed to 'pic'. Hardcoded compiler flags in packages have
been substituted with `self.compiler.pic_flag`.

* Changed literal uses of '-fpic' to 'self.compiler.pic_flag'
2017-08-04 18:21:43 +02:00
Adam J. Stewart
452f382293 Add a QMakePackage base class (#4925)
* Add a QMakePackage base class

* Fix sqlite linking bug in qt-creator

* Add latest version of qt-creator

* Add latest version of qwt

* Use raw strings for regular expressions

* Increase minimum required version of qt

* Add comment about specific version of sqlite required

* Fixes for latest version of qwt and qt-creator

* Older versions of Qwt only work with older versions of Qt
2017-08-04 08:46:07 -07:00
Sergey Kosukhin
f6c2adc0ad New package libaec: a BSD-licensed replacement for the szip library. (#4437)
* Added package for 'libaec'.

* New version for package 'libaec'.
2017-08-04 10:38:54 -05:00
Adam J. Stewart
408dfc8e86 Qt: disable OpenGL support by default (#4962)
* Qt: disable OpenGL support by default

* Fix qt+opengl build
2017-08-04 09:36:02 -05:00
Sergey Kosukhin
f8dfb6a486 OpenBLAS: one of the patches is not needed starting version 0.2.20. (#4971) 2017-08-04 09:34:58 -05:00
Adam J. Stewart
739bb9e5b7 Fix trilinos dependency on superlu-dist (#4968) 2017-08-04 08:17:28 -05:00
Elsa Gonsiorowski
bb4692fdb6 SCR CMake package (#3916)
* SCR CMake package

* Fix dtcmp variant description and set pdsh deptypes to build/run

* added variants for system config file location

* add variants for several scr cmake options

* Added more variants for compile time options

* Added libyogrt and made corrosponding changes to scr package.

* Cleanup yogrt package now that Ive verified it works

* Added description for libyogrt

* upper case async api names

* Make use of mv variants

* fix pdsh package for scr

* added IBM BBAPI as async option

* update pdsh and scr to use static pdsh modules
2017-08-03 16:52:52 -07:00
Axel Huebl
8a7678cae0 Version: Dev -> Develop (#4947)
Adjust the CRP packages with the properly defined version
label "develop" which is now standardized in spack.
2017-08-03 16:35:28 -05:00
George Hartzell
f24398cde6 Add package for libbsd, add variant to expat for libbsd (#4945)
* Add package for libbsd, add variant to expat for libbsd

The recent expat release requires a high quality source of randomness.

CentOS 7 does not seem to have one, but one is available in libbsd.

This commit adds a package for libbsd and adds a variant to expat to
use it (defaults to False).

* Make libbsd default for newer, conflict for older

Make the libbsd variant default to true.

Conflict if you're asking for libbsd and an older version of expat.

This means that in order to install an older version of expat you'll
need to specify `~libbsd`.

* Rework so that 2.2.0 and 2.2.2 work by default

Get rid of the conflicts and use better constraints/tests in the
`depends_on` and the `configure_args` bits.
2017-08-03 14:57:58 -05:00
Adam J. Stewart
4e269510c5 Fix trailing whitespace at the end of headers.cpp_flags (#4957) 2017-08-03 14:24:51 -05:00
George Hartzell
36496b9174 Fix crashes when running spack install under nohup (#4926)
* Fix crashes when running spack install under nohup

Fixes #4919

For reasons that I do not entire understand, duplicate_stream() throws
an '[Errno 22] Invalid argument' exception when it tries to
`os.fdopen()` the duplicated file descriptor generated by
`os.dup(original.fileno())`.  See spack/llnl/util/lang.py, line
394-ish.

This happens when run under `nohup`, which supposedly has hooked
`stdin` to `/dev/null`.

It seems like opening and using `devnull` on the `input_stream` in
this situation is a reasonable way to handle the problem.

* Be more specific about error being handled.

Only catch the specific error that happens when trying to dup
the stdin that nohup provides.

Catching e as a StandardErorr and then
`type(e).__name__` tells me that it's an OSError.

Printing e.errno tells me that it's 22

Double checking tells me that 22 is EINVAL.

Phew.
2017-08-03 10:33:16 -07:00
Adam J. Stewart
5ac10b90c5 Add database support to apr-util package (#4932) 2017-08-03 12:18:23 -05:00
homerdin
d087eeacbd CloverLeaf, miniGhost, miniMD, miniSMAC2D, miniXyce: Adding Tags (#4963) 2017-08-03 12:13:44 -05:00
George Hartzell
687904c714 New package for canu (#4937)
* Add package for canu

There's a top-level perl script, which is touched up to use a
spack-built perl instead of `#!/usr/bin/env perl`.  It's
self-contained, it uses `FindBin` to locate it's libaries.

* Add dependency on gnuplot

I noticed a hidden mention of the use of gnuplot in the docs.

This adds the dependency.

* Tighten dependencies, flake8 cleanup

gnuplot is a run dependency.
jdk is a run dependency.
perl is a run dependency.

Make flake8 happy.
2017-08-03 11:32:44 -05:00
Sergey Kosukhin
963eb99b7f Account for hyphens in package names when searching for libraries. (#4948) 2017-08-03 09:17:07 +02:00
Axel Huebl
269925f775 Protobuf: CMake (#4846)
* Protobuf: CMake

This rebuilds protobuf to be build with CMake,
so cmake config packages are created and installed, too.

Unfurtunately, this drops support for protobuf < 3.

* Protobuf CMake: Add .pc files

* libprotobuf.a: -fPIC

* Protobuf: Minor Updates

Updates from upstream review and planned patch inclusion.
2017-08-02 08:03:31 -05:00
Todd Gamblin
44ce0adbd5 Fix color bug in Spec.format() introduced by #3013 2017-08-01 17:40:54 -07:00
Todd Gamblin
b88f55e523 Add spack dependencies command and tests for it and dependents. 2017-08-01 17:40:54 -07:00
Todd Gamblin
af3c794ab5 document and make display_specs more versatile 2017-08-01 17:40:54 -07:00
Todd Gamblin
b575d008bd Fix issue with case check and spack -m 2017-08-01 17:40:54 -07:00
Todd Gamblin
c8b2100630 Refactor installed_dependents -> installed_relatives 2017-08-01 17:40:54 -07:00
Todd Gamblin
36b3dd8cfe Package.possible_dependencies() descends into virtuals. 2017-08-01 17:40:54 -07:00
Todd Gamblin
b9606e3157 Add --transitive option to spack dependents 2017-08-01 17:40:54 -07:00
Todd Gamblin
6928cf7a68 spack dependents lists possible dependencies by default. 2017-08-01 17:40:54 -07:00
Todd Gamblin
bd94a17066 Remove last vestiges of "special" deptypes.
- Remove `special_types` dict in spec.py, as only 'all' is still used
- Still allow 'all' to be used as a deptype
- Simplify `canonical_deptype` function
- Clean up args in spack graph
- Add tests
2017-08-01 17:40:54 -07:00