
* Bump the package API of the `builtin` repo to `v2.0` * Move `var/spack/repos/builtin` -> `var/spack/repos/spack_repo/builtin` * Move test repos `var/spack/repos/{builtin.mock,tutorial,...}` -> `var/spack/test_repos/` * Update package dir names to v2 format (`-` -> `_` etc) * Change absolute imports `from spack.pkg.builtin.my_pkg ...` to relative imports `from ..my_pkg.package ...` Users who have a repo on top of builtin should change imports from ```python from spack.pkg.builtin.my_pkg import MyPkg ``` to ```python from spack_repo.builtin.packages.my_pkg.package import MyPkg ``` and can configure their editors with ``` PYTHONPATH=$spack/lib/spack:$spack/var/spack/repos ``` [skip-verify-checksums]
17 lines
531 B
Diff
17 lines
531 B
Diff
diff --git a/config/ymake b/config/ymake
|
|
index 7b785bc..ca24dba 100755
|
|
--- a/config/ymake
|
|
+++ b/config/ymake
|
|
@@ -649,6 +649,11 @@ case UNICOS:
|
|
set cppopt = -N
|
|
breaksw
|
|
case Linux:
|
|
+ set cppopt = -traditional-cpp
|
|
+ # because local libraries and includes will otherwise have this prefix
|
|
+ # '1-rhel7-1' instead of 'linux-rhel7-x86_64'
|
|
+ set defines = "$defines -Dlinux=linux -Dx86_64=x86_64"
|
|
+ breaksw
|
|
case FreeBSD:
|
|
case CYGWIN:
|
|
set cppopt = -traditional-cpp
|