summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-21'spack spec --yaml' command now writes build deps to yaml (#12317)Peter Scheibel1-1/+2
This allows "spack spec --yaml" to generate a spec YAML file that can be used with "spack install -f". Before, this would fail in cases where the spec had build dependencies.
2019-08-21Emacs directives for fill-column setting.Chris Green1-0/+5
2019-08-21Fetch strategies: new global option `no_cache`, new git option `get_full_repo`.Chris Green4-35/+113
* All fetch strategies now accept the Boolean version keyword option `no_cache` in order to allow per-version control of cache-ability. * New git-specific version keyword option `get_full_repo` (Boolean). When true, disables the default `--depth 1` and `--single-branch` optimizations that are applied if supported by the git version and (in the former case) transport protocol. * The try / catch blog attempting `--depth 1` and retrying on failure has been removed in favor of more accurately ascertaining when the `--depth` option should work based on git version and protocol choice. Any failure is now treated as a real problem, and the clone is only attempted once. * Test improvements: * `mock_git_repository.checks[type_of_test].args['git']` is now specified as the URL (with leading `file://`) in order to avoid complaints when using `--depth`. * New type_of_test `tag-branch`. * mock_git_repository now provides `git_exe`. * Improved the action of the `git_version` fixture, which was previously hard-wired. * New tests of `--single-branch` and `--depth 1` behavior. * Add documentation of new options to the packaging guide.
2019-08-21Percept package: add version (#12434)Jon Rood4-84/+85
* Choose a specific commit as a version (before, the only version was the master branch) * Add CMake patch which allows for building the version added here (this replaces the existing patches for percept in Spack) * Update trilinos dependency
2019-08-21New package: c-blosc2 (#12430)Axel Huebl1-0/+72
2019-08-21new package: py-grequestsSinan811-0/+25
2019-08-21ButterflyPACK package: add URL, versions 1.0.0 and 1.0.1 (#12428)liuyangzhuan1-5/+4
2019-08-21Remove package: of-adios-write (#12443)Mark Olesen1-118/+0
old (adios1) integration is not supported, maintained, or recommended for openfoam. The of-adios-write package serves no purpose any more.
2019-08-21Fix to option text for help command. (#12444)Chris Green2-3/+3
2019-08-21new package: py-empySinan81@github1-0/+16
2019-08-21New package: py-fallocate (#12450)Sinan1-0/+16
2019-08-21new package: Exiv2Sinan811-0/+17
2019-08-21re2c package: add version 1.2.1 (#12455)Mark Olesen1-1/+2
2019-08-21py-deeptools: add 3.3.0 (#12456)Pariksheet Nanda2-5/+38
Also update dependencies to build latest py-deeptools versions and add a patch to run tests: * Replace pypi URL with github URL to download tests * Update dependency versions of py-pysam, py-matplotlib * Add new py-deeptoolsintervals package as a dependency * Add py-plotly and py-nose dependencies * Patch setup.py to collect and run tests
2019-08-21hpcviewer: add version 2019.08Mark W. Krentel1-6/+16
2019-08-21New package: py-fortranformat (#12459)Sinan1-0/+15
2019-08-21new package: py-geoalchemy2Sinan811-0/+28
2019-08-21New package: libsecret (#12461)Sinan1-0/+45
2019-08-21new package: py-mechanize (#12468)Sinan1-0/+20
2019-08-21new package: QtKeychainSinan811-0/+18
2019-08-21new package: py-humanizeSinan811-0/+22
2019-08-21properly format message with all paths that could not be used. also report ↵Peter Scheibel1-3/+4
canonicalized paths vs. Spack config variables like 'tempdir' (#12492)
2019-08-21mercury: Fix CMake 3.15 configure error (#12504)Chuck Atkins2-0/+34
2019-08-21pkg command uses a working directory for git invocations rather than -C. ↵Chris Green1-5/+23
(#12491)
2019-08-20permissions: fix file permissions on intermediate install directories (#12399)Greg Becker2-30/+64
- 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-20stage: avoid using group name in _first_accessible_path()Todd Gamblin1-3/+2
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-20mvapich2 depends on slurm when built with process_managers=slurm (#12489)Jeffrey Salmond1-1/+3
2019-08-20prefix -> self.prefix (#12487)Daryl W. Grunau1-1/+1
2019-08-20UnifyFS: new package - rename from UnifyCR (#12439)Cameron Stanavige1-10/+10
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-20kim-api: added version 2.1.3 (#12457)Ryan S. Elliott1-1/+2
2019-08-20Add Kokkos 2.9.0 (#12466)Teodor Nikolov1-0/+1
2019-08-20r: added version 3.6.1. (#12470)健美猞猁1-0/+1
2019-08-19cleanup: remove extraneous prints (#12474)Tamara Dahlgren1-2/+0
Removes messages accidentally introduced in #12072 .
2019-08-19features: Update compiler caching (#7675)Peter Scheibel2-34/+60
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-19features: Remove stage symlinks (#12072)Tamara Dahlgren17-315/+417
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-16py-pyfaidx: tweak dependencies; fixes #12445 (#12446)Pariksheet Nanda1-1/+4
* py-pyfaidx: tweak dependencies; fixes #12445 * py-pyfaidx: add suggestions for #12446
2019-08-16Solve compilation error on summit. (#12305)Dan Lipsa2-0/+19
* This constexpr does not compile on summit. I tried gcc6.4 and gcc7.4 * Add link the the llvm bug report.
2019-08-16Do not report on packages installed from the cache (#12336)Zack Galbreath3-1/+15
Skip generating reports for any packages that were found in the binary cache.
2019-08-16preCICE: Fix Eigen include directory (#12441)Frédéric Simonis1-1/+2
2019-08-15mirrors: make `spack mirror` environment aware (#12345)Greg Becker3-4/+38
Allow "spack mirror" with no spec arguments to create a mirror for the active environment (download all concretized specs in the environment)
2019-08-15new package: laszip (#12432)Sinan1-0/+15
2019-08-15camx: add version 6.50 (#12437)Pariksheet Nanda1-0/+129
* camx: add version 6.50 * camx: remove unpredictable download URL * camx: install manual and data files
2019-08-15Overhaul PyTorch package (#12420)Adam J. Stewart1-30/+155
* 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-15hpctoolkit: add version 2019.08.14 (#12435)Mark W. Krentel1-1/+3
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-15go: Add 1.12.8 and 1.11.13 (#12433)Michael Kuhn1-0/+2
Both address security issues: https://groups.google.com/forum/#!topic/golang-nuts/fCQWxqxP8aA
2019-08-15Update VisIt to version 3.0.1 and fix on mac (#12396)Seth R. Johnson6-39/+135
* 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-15ADIOS 2.4.0: Add new Deps (#12414)Axel Huebl1-9/+40
* 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-14Update icu4c to version 64.1 (#12429)Seth R. Johnson1-0/+1
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-14Update BOLT package (#12423)Shintaro Iwasaki1-1/+7
* bolt: add new versions * bolt: add argobots dependency From this version, BOLT uses an external Argobots, not a builtin one.
2019-08-14Fix skopeo dependencies (#12425)Daryl W. Grunau1-0/+2