Commit graph

12573 commits

Author SHA1 Message Date
Gregory L. Lee
19d10291bf modify compiler commands in python config files, fix for #431 2016-02-18 15:45:29 -08:00
Mario Melara
28218755a5 Changed spec.target to spec.architecture 2016-02-18 13:06:55 -08:00
Todd Gamblin
d8a70166d3 Fixes #434
Compiler detection was not getting triggered properly with some of the
new config logic.  Adjust the conditions under which Spack will serach
for compilers.
2016-02-18 00:56:29 -08:00
Todd Gamblin
c112cf66fe Merge pull request #443 from trws/dicts-like-string-keys
remove the unprotected key name from create.py
2016-02-17 17:06:51 -08:00
Tom Scogland
00125e4688 remove the unprotected key name from create.py
Small fix to use dicts correctly.
2016-02-17 16:43:36 -08:00
Mario Melara
3558404c03 Check difference by using arch tuple rather than .target 2016-02-17 14:54:39 -08:00
Mario Melara
0a6b54a8c4 Added module compilers so that no CompilerSpecError is thrown 2016-02-17 14:53:56 -08:00
Mario Melara
93a92a00ee Changed abstract.target to abstract.architecture.target and abstract.architecture.target.concrete 2016-02-17 14:53:09 -08:00
Mario Melara
d9e8bf1807 Added ARCHITECTURE field when showing specs 2016-02-17 14:51:14 -08:00
Mario Melara
54042e399b Changed target to architecture.target 2016-02-17 14:50:10 -08:00
Mario Melara
1d484dbe5f Changed so that modules use correct file path with spec.architecture instead of spec.target 2016-02-17 14:49:36 -08:00
Mario Melara
ab4006ee2c Changed so that directory layout uses the platform-os-target string version of the arch tuple 2016-02-17 14:48:53 -08:00
Mario Melara
524e9b372e From now on all targets are now architecture. Architecture is a named tuple so any time we need access to target we do architecture.target. 2016-02-17 14:47:29 -08:00
Mario Melara
2c20fc2ebf Changed module loading to use arch tuple instead of regular target.module 2016-02-17 14:45:53 -08:00
Mario Melara
2a79537ba1 Fixed silly typo that gave errors in tests 2016-02-17 14:44:38 -08:00
Todd Gamblin
9a5e0c59b0 Merge pull request #442 from xjrc/features/mesh-packages
Add Mesh Packages: Crypto++, Exodus II, ndiff, TetGen, and Triangle
2016-02-17 13:14:31 -08:00
Joseph Ciurej
6cd76d69c3 Fixed the "+shared" variant in the "hdf5" package. 2016-02-17 11:51:24 -08:00
Joseph Ciurej
0388093f7a Changed the hdf5 "+static" variant to become the "+shared" variant. 2016-02-16 17:33:19 -08:00
Joseph Ciurej
fca7ef2f7b Moved "Triangle" to "triangle" to be more in line with Spack package naming conventions. 2016-02-16 17:23:37 -08:00
Joseph Ciurej
8cab10214e Added the installation files for the "ExodusII" package.
Added the "+static" variant to "hdf5" to enable "ExodusII" support.
2016-02-16 16:43:24 -08:00
Mario Melara
a3039c4c67 Changed add_architecture_from_string, it now loops through the string and checks whether each piece of string is a valid platform, operating system and target. If the operating system or target are none it will use the defaults. Updated the documentation for that method. One thing that bothers me is how to account for the multitude of operating systems when cross compiling. If someone wants to compile with another operating system not found on current platform. How can spack check to see if it is valid? 2016-02-16 15:26:07 -08:00
Mario Melara
62b0293963 Cleaned up the file. Got rid of commented out sections of code since they weren't going to be used anyway 2016-02-16 15:23:38 -08:00
Mario Melara
31ab238306 Beginning attemps to fix concretization method to account for the new tuple architecture 2016-02-16 15:22:23 -08:00
Mario Melara
19dca4bcc9 Added some _cmp_key methods to OperatingSystem class, and also changed the way Platforms are compared. Created a mini inherited class named Arch that inherits from namedtuple. The reason for this is to override the namedtuple __str__ method to make arch tuples look prettier when printed out. Rather than Arch(platform= ... ) it prints to platform-os-target which makes directory paths to packages look cleaner. 2016-02-16 15:21:36 -08:00
Mario Melara
35a602baaf Changed target checking to architecture checking for abi compatible 2016-02-16 15:17:57 -08:00
Joseph Ciurej
09254014b1 Added the installation files for the "TetGen" package. 2016-02-16 13:24:01 -08:00
Joseph Ciurej
3c8bbeafc7 Added the installation files for the "Triangle" package. 2016-02-16 13:01:18 -08:00
Joseph Ciurej
9a6221ea40 Added the installation files for the "ndiff" package. 2016-02-16 12:47:14 -08:00
Joseph Ciurej
db50f52bbc Adding the "Crypto++" package installation files. 2016-02-16 11:40:00 -08:00
Todd Gamblin
9e4671a4b4 Merge pull request #340 from adamjstewart/features/xz
Remove unnecessary URLs
2016-02-16 10:24:42 -08:00
Todd Gamblin
96a4d3f432 Merge pull request #440 from adamjstewart/features/mpi4py
Add latest version
2016-02-16 01:05:16 -08:00
Adam J. Stewart
bf162e60f1 Add latest version 2016-02-15 10:53:50 -06:00
Todd Gamblin
d8c0edcc81 Minor code cleanup for gcc. 2016-02-14 14:40:25 -08:00
Erik Schnetter
9868333e8e Shell quoting is difficult 2016-02-14 11:34:08 -05:00
Erik Schnetter
a06e29fecb More quoting experiments 2016-02-14 10:43:55 -05:00
Erik Schnetter
43670cbbd0 More games with quoting 2016-02-13 22:01:36 -05:00
Erik Schnetter
52647b9a5d Using regexes instead of globbing to match path names 2016-02-13 17:55:14 -05:00
Mario Melara
c799301011 Changed the method in which architecture is converted from string to namedtuple. Also added some TODO comments to later consider changing how architecture is handled 2016-02-13 14:37:07 -08:00
Mario Melara
7732f375d2 Changed operating system getter so that linux and darwin autodetected operating systems are set as class default_os 2016-02-13 14:36:01 -08:00
Erik Schnetter
69064395eb Add debug output 2016-02-13 15:12:09 -05:00
Erik Schnetter
9a2c1090a6 Handle -Wl,-rpath,... syntax 2016-02-13 14:54:18 -05:00
Erik Schnetter
dc6a33b716 Handle multiple -Wl,-rpath,... paths 2016-02-13 14:54:18 -05:00
Erik Schnetter
5038a38e29 Correct -Xlinker arguments 2016-02-13 14:54:18 -05:00
Erik Schnetter
2cd9ad8ce6 Use "-Wl,-rpath," instead of "-Wl,-rpath="
The former translates to a linker argument "-rpath DIR", whereas the latter translates to "-rpath=DIR". The latter is not support on OS X.
2016-02-13 14:54:18 -05:00
Todd Gamblin
63911d4165 Merge pull request #354 from eschnett/eschnett/libedit
libedit depends on ncurses
2016-02-12 10:33:08 -08:00
Erik Schnetter
8e33cc1ae1 Properly wrap all long lines 2016-02-12 13:11:45 -05:00
Erik Schnetter
ff81aff254 Remove source-code optimization and cleanup 2016-02-12 13:05:42 -05:00
Todd Gamblin
f0db7190ff Merge pull request #437 from davidbeckingsale/features/dk-short-names
Use hash to make shorter module and dotkit names, fixes #433
2016-02-12 09:59:07 -08:00
Todd Gamblin
d541a4bd29 Merge pull request #435 from epfl-scitas/packages/espresso
Added package : Quantum Espresso
2016-02-12 09:58:50 -08:00
Erik Schnetter
64436e7752 Merge branch 'develop' into correct-cc 2016-02-12 12:55:26 -05:00