Commit graph

12799 commits

Author SHA1 Message Date
Sinan81
17ee9c7229 new package: QtKeychain 2019-08-21 16:12:33 -07:00
Sinan81
08e389cb7d new package: py-humanize 2019-08-21 16:10:51 -07:00
Peter Scheibel
5127d95b2e properly format message with all paths that could not be used. also report canonicalized paths vs. Spack config variables like 'tempdir' (#12492) 2019-08-21 15:46:12 -07:00
Chuck Atkins
77e4e3d87e
mercury: Fix CMake 3.15 configure error (#12504) 2019-08-21 13:28:20 -04:00
Chris Green
2441c0bad7 pkg command uses a working directory for git invocations rather than -C. (#12491) 2019-08-21 09:31:27 -07:00
Greg Becker
3b115fffb1 permissions: fix file permissions on intermediate install directories (#12399)
- mkdirp now takes arguments to allow it to properly set permissions on created directories.
- Two arguments (group and mode) set permissions for the leaf directory.
- Intermediate directories can inherit permissions from either the topmost existing directory (the parent) or the leaf.
2019-08-20 23:08:02 -07:00
Todd Gamblin
368bf2d69c
stage: avoid using group name in _first_accessible_path()
On machines where $TMP is owned by a gid with no name, this avoids the
following error when the default spack stage does not exist:

    (spackbook):spack$ spack clean
    ==> Removing all temporary build stages
    ==> Error: 'getgrgid(): gid not found: 57095'

Spack needs to deal with gids directly unless users pass them in.
2019-08-20 14:52:53 -07:00
Jeffrey Salmond
a41014ed9e mvapich2 depends on slurm when built with process_managers=slurm (#12489) 2019-08-20 16:43:28 -05:00
Daryl W. Grunau
dbbccd1303 prefix -> self.prefix (#12487) 2019-08-20 16:41:41 -05:00
Cameron Stanavige
11c0a7882d UnifyFS: new package - rename from UnifyCR (#12439)
UnifyCR has been renamed to UnifyFS. Renaming the Spack package is
the last step in this process.

This renames the package and changes any UnifyCRs to UnifyFS within
the package.
2019-08-20 11:13:22 -05:00
Ryan S. Elliott
7737d623b0 kim-api: added version 2.1.3 (#12457) 2019-08-20 16:29:17 +02:00
Teodor Nikolov
118e20a087 Add Kokkos 2.9.0 (#12466) 2019-08-20 13:07:11 +02:00
健美猞猁
6d959494d4 r: added version 3.6.1. (#12470) 2019-08-20 11:13:18 +02:00
Tamara Dahlgren
aed204e409
cleanup: remove extraneous prints (#12474)
Removes messages accidentally introduced in #12072 .
2019-08-19 14:49:09 -07:00
Peter Scheibel
31ff791180 features: Update compiler caching (#7675)
Compiler caching was using the `id()` function to refer to configuration dictionary objects. If these objects are garbage-collected, this can produce incorrect results (false positive cache hits). This change replaces `id()` with an object that keeps a reference to the config dictionary so that it is not garbage-collected.
2019-08-19 11:24:05 -07:00
Tamara Dahlgren
0ea6e0f817
features: Remove stage symlinks (#12072)
Fixes #11163

The goal of this work is to simplify stage directory structures by eliminating use of symbolic links. This means, among other things, that` $spack/var/spack/stage` will no longer be the core staging directory. Instead, the first accessible `config:build_stage` path will be used.

Spack will no longer automatically append `spack-stage` (or the like) to configured build stage directories so the onus of distinguishing the directory from other work -- so the other work is not automatically removed with a `spack clean` operation -- falls on the user.
2019-08-19 10:31:24 -07:00
Pariksheet Nanda
64de824cf6 py-pyfaidx: tweak dependencies; fixes #12445 (#12446)
* py-pyfaidx: tweak dependencies; fixes #12445

* py-pyfaidx: add suggestions for #12446
2019-08-16 22:41:32 -05:00
Dan Lipsa
39ad0efb9a Solve compilation error on summit. (#12305)
* This constexpr does not compile on summit.

I tried gcc6.4 and gcc7.4

* Add link the the llvm bug report.
2019-08-16 15:27:35 -04:00
Zack Galbreath
cef1e4e0b4 Do not report on packages installed from the cache (#12336)
Skip generating reports for any packages that were found in the binary cache.
2019-08-16 10:19:11 -07:00
Frédéric Simonis
7bb08b6ecb preCICE: Fix Eigen include directory (#12441) 2019-08-16 09:00:01 -05:00
Greg Becker
0307b5a3dc mirrors: make spack mirror environment aware (#12345)
Allow "spack mirror" with no spec arguments to create a mirror for the
active environment (download all concretized specs in the environment)
2019-08-15 18:45:17 -07:00
Sinan
46e8de914a new package: laszip (#12432) 2019-08-15 19:07:40 -05:00
Pariksheet Nanda
862b3b00df camx: add version 6.50 (#12437)
* camx: add version 6.50

* camx: remove unpredictable download URL

* camx: install manual and data files
2019-08-15 19:07:22 -05:00
Adam J. Stewart
f568f19b13
Overhaul PyTorch package (#12420)
* Overhaul PyTorch package

* Flake8

* Distributed requires MPI, NCCL not specified correctly

* Binary was being specified incorrectly

* Run tests at install time

* Disable GLOO in addition to GLOO_IBVERBS
2019-08-15 17:54:09 -05:00
Mark W. Krentel
3a78f0e0fd hpctoolkit: add version 2019.08.14 (#12435)
Add version 2019.08.14 and rename 'develop' to 'master' to match the
git branch name (now that master is also a special name).
2019-08-15 17:53:41 -05:00
Michael Kuhn
0cdcee92fb go: Add 1.12.8 and 1.11.13 (#12433)
Both address security issues:
https://groups.google.com/forum/#!topic/golang-nuts/fCQWxqxP8aA
2019-08-15 17:01:43 -05:00
Seth R. Johnson
4b400d5032 Update VisIt to version 3.0.1 and fix on mac (#12396)
* Add option to disable QTDesigner plugin for qwt

Qt designer shouldn't be necessary to build downstream GUI code.
Currently `qwt^qt~tools` fails to build:

(darwin clang@10.0.1)
```
compiling qwt_designer_plugin.cpp
compiling qwt_designer_plotdialog.cpp
moc qwt_designer_plugin.h
moc qwt_designer_plotdialog.h
rcc qwt_designer_plugin.qrc
qwt_designer_plugin.h:23: Error: Undefined interface
make[1]: *** [moc/moc_qwt_designer_plugin.cpp] Error 1
make[1]: *** Waiting for unfinished jobs....
qwt_designer_plugin.cpp:17:10: fatal error: 'QDesignerFormEditorInterface' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [obj/qwt_designer_plugin.o] Error 1
make: *** [sub-designer-make_default-ordered] Error 2
```

* Update VTK for newer VisIt and compiler versions

Several changes/enhancements to VTK package

---

Add version 8.1.0 (default version for VisIt 3.x)

---

Tweak VTK options for version 8 and VisIt:

- only add mpi4py version option when mpi4py is enabled
- Require object factory for downstream packages
- Remove OpenGL preference for VTK 8

---

Combine +python3 into +python

The spec for using python3 should just be `+python^python@3:`.

---

Remove unused VTK cmake argument on newer version

---

Patch for Python 3 fails on VTK 6.1 (needed for VisIt 2.x):
```
==> Patch /rnsdhpc/code/spack/var/spack/repos/builtin/packages/vtk/python3.7-const-char.patch failed.
==> Error: ProcessError: Command exited with status 1:
    '/usr/bin/patch' '-s' '-p' '1' '-i' '/rnsdhpc/code/spack/var/spack/repos/builtin/packages/vtk/python3.7-const-char.patch' '-d' '.'
```

and as it happens, VisIt 2.13 is incompatible with Python 3 anyway.

---

Fix compiler error:

As spack's configuration warning says, double-quotes can cause trouble:
```
==> [2019-07-29-11:47:55.269653] Warning: Quotes in command arguments can confuse scripts like configure.
  The following arguments may cause problems when executed:
      -DVTK_REQUIRED_OBJCXX_FLAGS=""
  Quotes aren't needed because spack doesn't use a shell.
  Consider removing them
```
They were being added to the compile line, causing clang to think it was
asked to compile an empty file:
```
cd /private/var/folders/fy/x2xtwh1n7fn0_0q2kk29xkv9vvmbqb/T/s3j/spack-stage/spack-stage-3nk9bwe_/spack-build/Rendering/OpenGL && /rnsdhpc/code/spack/lib/spack/env/clang/clang++  -DVTK_IN_VTK -DvtkRenderingOpenGL_EXPORTS -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks  -DGLX_GLXEXT_LEGACY  -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fPIC   -fvisibility=hidden -fvisibility-inlines-hidden "" -o CMakeFiles/vtkRenderingOpenGL.dir/vtkCocoaGLView.mm.o -c /rnsdhpc/code/spack/var/spack/stage/vtk-6.1.0-b2mj276iz77fadisv2me365qe27t3gxt/spack-src/Rendering/OpenGL/vtkCocoaGLView.mm
clang: error: no input files
make[2]: *** [Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkCocoaGLView.mm.o] Error 1
```

* Modernize/PEP-8 visit package statements

* Add new VisIt version and patches for building on Mac

- VisIt's cmake assumes a 'vtk(tiff|jpeg|png)' *library* target exported by
  VTK, but VTK 8.1.x on my configuration seems to have these as header-only
  targets with library dependencies.
- Explicitly add QT path to visit configure: Without this, somehow
  `${VISIT_QT_DIR}` was being set to empty, so that the build failed with
  `missing /bin/moc`.
- VisIt assumes that if it isn't being built statically, QWT has been built as
  a mac Framework. QWT actually is built as a framework based on whether QT
  itself is.

Error message:
```
-- Looking for QWT
CMake Error at CMake/SetUpThirdParty.cmake:131 (MESSAGE):
    Include Directory for QWT (/rnsdhpc/code/spack/opt/spack/darwin-mojave-x86_64/clang-10.0.1-apple/qwt-6.1.3-bmfxirweplzhjoiil4rw632evkyteuwk/lib/qwt.framework/Versions/Current/Headers) does not exist.
Call Stack (most recent call first):
  CMake/FindQwt.cmake:57 (SET_UP_THIRD_PARTY)
  CMakeLists.txt:1251 (INCLUDE)
```
2019-08-15 10:13:45 -05:00
Axel Huebl
ce15510566 ADIOS 2.4.0: Add new Deps (#12414)
* ADIOS 2.4.0: Add new Deps

Version 2.4.0 of ADIOS2 added new dependencies that are not
yet listed as `depends_on` and/or disabled otherwise. Add them
now to avoid picking them up from system paths, e.g. `libpng`.

* ADIOS2: Variant Defaults Change

* Python: False by default
* ADIOS1: only used prior to 2.3.0
2019-08-15 10:11:35 -05:00
Seth R. Johnson
283f355b10 Update icu4c to version 64.1 (#12429)
Version 60.1 fails to build on linux with clang@7.0.1 and clang@8.0.0:

```
digitlst.cpp:508:9: error: use of undeclared identifier 'freelocale'
        freelocale(gCLocale);
        ^
   clang++     ...  coll.cpp
digitlst.cpp:520:26: error: use of undeclared identifier 'LC_ALL_MASK'
    gCLocale = newlocale(LC_ALL_MASK, "C", (locale_t)0);
                         ^
   clang++     ...  sortkey.cpp
   clang++     ...  bocsu.cpp
   clang++     ...  ucoleitr.cpp
   clang++     ...  ucol.cpp
   clang++     ...  ucol_res.cpp
2 errors generated.
   clang++     ...  ucol_sit.cpp
   clang++     ...  collation.cpp
*** Failed compilation command follows:
----------------------------------------------------------
/projects/spack/lib/spack/env/clang/clang++ -D_REENTRANT
-DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_STRTOD_L=1
-DU_HAVE_XLOCALE_H=1 -I. -I../common -DU_ATTRIBUTE_DEPRECATED=
-DU_I18N_IMPLEMENTATION -std=c++11 -W -Wall -pedantic -Wpointer-arith
-Wwrite-strings -Wno-long-long -c -DPIC -fPIC -o digitlst.o digitlst.cpp
--- ( rebuild with "make VERBOSE=1 all" to show all parameters )
--------
make[1]: *** [digitlst.o] Error 1
make[1]: *** Waiting for unfinished jobs....
   clang++     ...  collationsettings.cpp
make[1]: Leaving directory
`/build/s3j-spack/spack-stage/spack-stage-k9ba3gqo/spack-src/source/i18n'
make: *** [all-recursive] Error 2
```
2019-08-14 22:54:37 -05:00
Shintaro Iwasaki
ae2ab920fb Update BOLT package (#12423)
* bolt: add new versions

* bolt: add argobots dependency

From this version, BOLT uses an external Argobots, not a builtin one.
2019-08-14 21:40:51 -05:00
Daryl W. Grunau
5346d5e966 Fix skopeo dependencies (#12425) 2019-08-14 19:14:33 -05:00
Daryl W. Grunau
b8ffb1cf7f Fix charliecloud dependencies (#12427) 2019-08-14 19:14:00 -05:00
Cameron Stanavige
226f23bc43 UnifyCR: update dependencies and build options (#12216)
* UnifyCR: update dependencies and build options

This adds some specifics about dependencies and conflicts and adds
additional build options and variants. UnifyCR now also has limited
fortran support.

* Remove debug statements condition on Spack debug

Change debug print statements to now be turned on when the -g cflag
is found in the flags the user sets.
2019-08-14 15:50:10 -07:00
Daryl W. Grunau
9e08c7ff47 Package umoci dependency (#12422)
* bump eospac version

* Revert "bump eospac version"

This reverts commit 835b1f822d8c083f6ab9eb17222c00409e8eb3da.

* umoci depends on go-md2man
2019-08-14 17:35:52 -05:00
Christoph Junghans
41c917b6e6 lammps: add version 20190807 (#12424) 2019-08-14 17:35:24 -05:00
Daryl W. Grunau
0c5f5d4d0d New package: device-mapper (#12406)
* bump eospac version

* Revert "bump eospac version"

This reverts commit 835b1f822d8c083f6ab9eb17222c00409e8eb3da.

* new package: device-mapper

* address comments by @hartzell

* extraneous whitespace

* capitalization

* device-mapper -> lvm2

* unprovide device-mapper

* address comments by @adamjstewart

* address comments by @adamjstewart
2019-08-14 14:54:15 -05:00
Justin S
da21d27712 r-rmutil: new package at 1.1.3 (#12417)
* r-rmutil: new package at 1.1.3

* r-rmutil: use cloud.r-project.org
2019-08-14 14:53:57 -05:00
Daryl W. Grunau
a9845da15f New package: go-md2man (#12397)
* bump eospac version

* Revert "bump eospac version"

This reverts commit 835b1f822d8c083f6ab9eb17222c00409e8eb3da.

* new package: go-md2man

* address comments by @adamjstewart
2019-08-14 12:56:51 -05:00
Adam J. Stewart
0f075b0cc8
NCCL: fix build on older Linux systems (#12415) 2019-08-14 12:34:00 -05:00
Toyohisa Kameyama
e620883a3c masurca: build on arm. (#12416)
* remove -minline-all-stringops when target is arm.
* change int3 to raise(SIGTRAP) when target is arm.
2019-08-14 10:38:50 -05:00
Sinan
3a4a513bed add new package: py-python-magic (#12409)
* add new package: py-python-magic

* tidy up

* Update var/spack/repos/builtin/packages/py-python-magic/package.py

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
2019-08-14 10:37:06 -05:00
Adam J. Stewart
2e6b44328a
zstd: fix build linking error (#12413) 2019-08-13 21:09:25 -05:00
Toyohisa Kameyama
c52f8478b2 starce: new version and build on ARM. (#12401)
1. souce URL change to github.
2. Add version 5.1 and 5.2
3. enable build on ARM.
2019-08-13 19:38:45 -05:00
Jordan Ogas
4119886cbc add charliecloud master branch; add dependencies (#12327)
* add master and dependencies

* remove gcc and make

* add variants, make doc and ch-grow dependencies optional

* capitalize description sentence

* move dependencies and variants below version block

* fix typos
2019-08-13 19:37:58 -05:00
Daryl W. Grunau
2c68b7f006 packages/umoci (#12346)
* bump eospac version

* Revert "bump eospac version"

This reverts commit 835b1f822d8c083f6ab9eb17222c00409e8eb3da.

* new package: umoci

* Package -> MakefilePackage

* add missing build phase

* relax expand=False requirement
2019-08-13 19:37:34 -05:00
Sinan
fcf6bb8f45 add new versions (#12393) 2019-08-13 19:35:02 -05:00
Sinan
53e12f66cf add new version (#12394) 2019-08-13 19:34:34 -05:00
Sinan
bb5663701e add new version (#12395) 2019-08-13 19:33:12 -05:00
Toyohisa Kameyama
d752ef38c9 subread: build on ARM. (#12400) 2019-08-13 19:23:52 -05:00
Ricardo Silva
5116312ca2 package/gromacs: simd optimizations autodetection for more versions (#12402)
* gromacs: fix simd detection for pre 2018 versions

* pre 2018 the cmake file was named differently
* fixed up post 2018 patch file which was non pretty

* Trim patch
2019-08-13 19:21:59 -05:00