summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-12-12Add missing bzip2 dependency to freetype (#2536)Adam J. Stewart1-2/+2
* Add freetype dependency on bzip2 * Switch package with an install method for the docs
2016-12-12Set parent process's input stream inside the build process. (#2535)Sergey Kosukhin1-0/+13
2016-12-12Add documentation for repositories and namespaces. (#2474)Todd Gamblin8-17/+476
* Add documentation for repositories and namespaces. * Update and extend repository documentation per review. - Also add `-N` argument for `spack spec`
2016-12-11[docs] missin .. code-block:: console in Spack 101 (#2530)Stephen McDowell1-0/+2
The advanced [Uninstalling Packages](spack.readthedocs.io/en/latest/tutorial_sc16_spack_basics.html#uninstalling-packages) via hash has a couple missing `.. code-block:: console` directives ;) I have no idea what branch to direct this to though...
2016-12-10clang: do xcode mockup iff requested by a package (#2544)Denis Davydov4-5/+13
* clang: do xcode mockup iff requested by a package * add a note * add pkg to setup_custom_environment() and decide whether or not to use mockup XCode there based on the package
2016-12-08Make targets an attribute of compilers (#2500)becker336-25/+56
* Make targets an attribute of compilers, similar to OS. Allows users to use `spack compiler find` to add compilers for the same platform/os but different targets when spack is installed on a file system mounted on machines with different targets. * Changed get_compilers() method to treat old compilers with no target as target='any' * flake8 changes * Address change requests for comments/code clarity
2016-12-08Json loader now returns str objects instead of unicode. (#2524)Sergey Kosukhin1-2/+22
2016-12-08Revert to-string for CNL operating system (#2526)scheibelp2-3/+3
2016-12-08Add support for parsing R-XML URL versions. (#2525)Todd Gamblin3-8/+21
* Add support for parsing R-XML URL versions. * Better url-parse debug output. - just print the debug stuff all the time. * fix R-XML versions.
2016-12-08fix for bluegene-q platform (#1980)Pramod Kumbhar2-3/+35
* fix for bluegene-q platform * change powerpc to ppc64 * change CNK to cnk
2016-12-08Fix deptypes for deps specified on command line (#2307)scheibelp2-20/+60
Fixes #2306 Any dependency explicitly mentioned in a spec string ended up with the build and link deptypes unconditionally. This fixes dependency resolution to ensure that packages which are mentioned in the spec string have their deptypes determined by the dependency information in the package.py files. For example if a package has cmake as a build dependency, and cmake is mentioned as a dependency in the spec string for the package, then it ends up with just the build deptype.
2016-12-08Use frontend OS for build/run deps by default (#2292)scheibelp5-25/+91
Packages built targeting a backend may depend on packages like cmake which can be built against the frontend. With this commit, any build dependency or child of a build dependency will target the frontend by default. In compiler concretization when packages copy compilers from nearby packages, build dependencies use compiler information from other build dependencies, and link dependencies avoid using compiler information from build dependencies.
2016-12-07Fixed spelling of variable (#2516)Oliver Breitwieser2-2/+2
2016-12-05Use JSON for the database instead of YAML. (#2189)Todd Gamblin7-82/+282
* Use JSON for the database instead of YAML. - JSON is much faster than YAML *and* can preserve ordered keys. - 170x+ faster than Python YAML when using unordered dicts - 55x faster than Python YAML (both using OrderedDicts) - 8x faster than C YAML (with OrderedDicts) - JSON is built into Python, unlike C YAML, so doesn't add a dependency. - Don't need human readability for the package database. - JSON requires no major changes to the code -- same object model as YAML. - add to_json, from_json methods to spec. * Add tests to ensure JSON and YAML don't need to be ordered in DB. * Write index.json first time it's not found instead of requiring reindex. * flake8 bug.
2016-12-05Allow spack create to handle packages with period in name (#2351)Adam J. Stewart3-10/+13
* Allow spack create to handle packages with period in name * Update tests to handle new package name detection scheme
2016-12-04Bugfix: restore `__contains__` method after ArchSpec refactor. (#2481)Todd Gamblin1-0/+3
2016-12-03Fixes to Handling Multiple Architectures (#2261)Joseph Ciurej13-272/+473
* Added some notes about how multiarch detection could be fixed. * Implemented a preliminary version of the "spack.spec.ArchSpec" class. * Updated the "spack.spec.Spec" class to use "ArchSpec" instead of "Arch". * Fixed a number of small bugs in the "spack.spec.ArchSpec" class. * Fixed the 'Concretizer.concretize_architecture' method so that it uses the new architecture specs. * Updated the package class to properly use arch specs. Removed a number of unused architecture functions. * Fixed up a number of bugs that were causing the regression tests to fail. Added a couple of additional regression tests related to architecture parsing/specification. Fixed a few bugs with setting reserved os/target values on "ArchSpec" objects. Removed a number of unnecessary functions in the "spack.architecture" and "spack.concretize" modules. * Fixed a few bugs with reading architecture information from specs. Updated the tests to use a uniform architecture to improve reliability. Fixed a few minor style issues. * Adapted the compiler component of Spack to use arch specs. * Implemented more test cases for the extended architecture spec features. Improved error detection for multiple arch components in a spec. * Fix for backwards compatibility with v0.8 and prior * Changed os to unknown for compatibility specs * Use `spack09` instead of `spackcompat` for the platform of old specs.
2016-12-01Does nothing if no prexisting config.guess is found. (#2446)Matt Belhorn1-1/+3
* Does nothing if no prexisting config.guess is found. * Update name for RHEL OS.
2016-12-01Update tutorial_sc16_packaging.rst (#2450)TomasPuverle1-1/+1
Fixed a typo.
2016-12-01Update workflows.rst (#2451)TomasPuverle1-1/+1
Fixed a typo.
2016-12-01More informative help messages for spack config. (#2453)Sergey Kosukhin1-2/+10
2016-11-29CDash fixes (#2438)hegner1-4/+4
use short spec instead of spec as CDash has a limitation in name length mark all problems as 'FAILED' as CDash does not understand "ERRORED" status
2016-11-29add headers neede for CDASH to junit output (#2433)hegner1-2/+6
2016-11-24Adding pic_flag property to compilers (#2375)Andrey Prokopenko6-0/+24
Different compilers have different flags for PIC (position-independent code). This patch provides a common ground to accessing it inside specs. See discussions in #508 and #2373. This patch does not address the issue of mixed compilers as mentioned in #508.
2016-11-24Add dynamic search option for package sources (#2270)scheibelp4-8/+70
Package provides a 'list_url' attribute which may be searched to find download links. #1822 created a slowdown for all tests by always searching this URL. This reenables dynamic search only in cases where all other fetchers fail. This also only enables dynamic search when 'mirror_only' is set to false.
2016-11-23Fix indentation for newly created packages (#2391)Adam J. Stewart1-9/+9
2016-11-22Update external distro package to 1.0.1 (#2381)Adam J. Stewart1-60/+92
2016-11-22Forgot http:// in tutorial link.Todd Gamblin1-1/+1
2016-11-22Fix broken doc links.Todd Gamblin6-9/+10
2016-11-17Improve stacktrace printingMatthew Krafczyk1-3/+5
Sometimes files in the stacktrace are not from spack. Remove these files before finding the spack root.
2016-11-16Use better scheme for getting root directoryMatthew Krafczyk1-3/+7
2016-11-16Fix some formatting errors caught by flake8.Matthew Krafczyk1-6/+7
2016-11-16-s now includes the file and line number with infoMatthew Krafczyk1-2/+32
The option -s now causes file and line number information to be printed along with any invocation of msg, info, etc... This will greatly ease debugging.
2016-11-15Move tutorial slides to external link and stop using git LFS (#2341)Todd Gamblin3-3/+2
- Seems like older git versions won't be able to clone an LFS repo. - Reverting to an external link for the slides to avoid storing an 8MB file in the repo and to avoid using git LFS.
2016-11-14Add SC16 tutorial to the Spack docs.Todd Gamblin13-17/+64
2016-11-13Edited/fixed basic usage tutorial (#2329)becker331-69/+79
* Colify compiler output * Edited/fixed basic usage tutorial * fix console spacing.
2016-11-13fake install: mock include directory (#2294)Massimiliano Culpo1-0/+1
2016-11-13install: fixed choices for `--only` (removed the default) fixes #2303 (#2308)Massimiliano Culpo1-1/+1
2016-11-12Basic usage step-by-step tutorialGregory Becker3-1/+1246
2016-11-12Add packaging tutorial to docs (#2315)Matthew LeGendre8-5/+651
* Add packaging tutorial to docs * packaging tutorial: formatting
2016-11-09Allow compiler wrapper to modify environment (#2275)scheibelp7-5/+112
* Allow compiler wrapper to modify environment This adds the ability to set environment variables in the compiler wrappers. These are specified as part of the compilers.yaml config. The user may also specify RPATHs in compilers.yaml that should be added. * Minor doc tweak
2016-11-09find, uninstall: improved user interaction in the case of empty DB (#2278)Massimiliano Culpo2-2/+6
2016-11-07Waste less space when fetching cached archives, simplify fetch messages. (#2264)Todd Gamblin2-24/+39
* Waste less space when fetching cached archives, simplify fetch messages. - Just symlink cached files into the stage instead of copying them with curl. - Don't copy linked files back into the cache when done fetching. * Fixes for review. * more updates * last update
2016-11-06Don't automatically spider remote list_urls before making stage. (#2263)Todd Gamblin1-6/+1
- This might be useful but we don't want to do it unconditionally.
2016-11-06Changed cflag matching to exact rather than subset. (#2227)becker331-2/+2
Not the desired eventual behavior, but cflag subset matching is not currently working for anonymous specs and this provides a temporary solution by restricting the feature until it is fixed.
2016-11-06Wordsmithing/minor-edits to module tutorial (#2256)George Hartzell1-21/+28
* Wordsmithing/minor-edits to module tutorial A small set of wordsmithing, spell checking and minor edits to the fancy new modules tutorial! * Fix typo (sneaky z key...) * Fix "S:" and "manual<" typos
2016-11-06Add detection for redhat enterprise server to distro.py (#2262)Todd Gamblin1-1/+2
2016-11-05variable referenced before assignment (#2252)Massimiliano Culpo1-2/+4
2016-11-04Bugfix in concretize_compiler (#2196)Jeffrey Salmond1-8/+7
* fix bug in search for concrete compiler * simplify implementation of concretize_compiler * fix flake8 errors
2016-11-04Fixes #1520 (#1822)scheibelp4-44/+73
Some packages which include resources fetched from source control repositories terminated package installs because they failed to archive; specifically, this included all SCM resources which identify a specific state of the repo - for example a revision in svn or a tag/revision in git. This is because the resource stage creation logic did not choose an appropriate archive name for these kinds of resources.