Skip to content

Commit 5058beb

Browse files
committed
spack_packages was renamed to spack-packages
1 parent 0330062 commit 5058beb

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ $ spack list oasis3_mct
2222

2323
To use the packages in this repository first clone the repo to a path of your choosing (represented here as `$PACKAGE_PATH`)
2424
```
25-
git clone [email protected]:ACCESS-NRI/spack_packages.git $PACKAGE_PATH/spack_packages
25+
git clone [email protected]:ACCESS-NRI/spack-packages.git $PACKAGE_PATH/spack-packages
2626
```
2727
and then add the location of the repository to your spack instance
2828
```
29-
git repo add $PACKAGE_PATH/spack_packages
29+
git repo add $PACKAGE_PATH/spack-packages
3030
```
3131
and then confirm it is has been added correctly:
3232
```
3333
$ spack repo list
3434
==> 2 package repositories.
35-
access.nri $PACKAGE_PATH/spack_packages
35+
access.nri $PACKAGE_PATH/spack-packages
3636
builtin $SPACK_ROOT/var/spack/repos/builtin
3737
```
3838
Now the `oasis3-mct` package should be available to install

packages/cice4/package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Cice4(MakefilePackage):
3737
__targets[12]["blocks"] = "12x1"
3838

3939
# The reason for the explicit -rpath is:
40-
# https://github.com/ACCESS-NRI/spack_packages/issues/14#issuecomment-1653651447
40+
# https://github.com/ACCESS-NRI/spack-packages/issues/14#issuecomment-1653651447
4141
def get_linker_args(self, spec, name):
4242
return " ".join(
4343
[(spec[name].libs).ld_flags,

packages/cice5/package.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ def url_for_version(self, version):
5252
return "https://github.com/ACCESS-NRI/cice5/tarball/{0}".format(version)
5353

5454
# The reason for the explicit -rpath is:
55-
# https://github.com/ACCESS-NRI/spack_packages/issues/14#issuecomment-1653651447
55+
# https://github.com/ACCESS-NRI/spack-packages/issues/14#issuecomment-1653651447
5656
def get_linker_args(self, spec, name):
5757
return " ".join(
5858
[(spec[name].libs).ld_flags,
5959
"-Wl,-rpath=" + join_path(spec[name].prefix, "lib")]
6060
)
6161

6262
# The reason for the explicit -rpath is:
63-
# https://github.com/ACCESS-NRI/spack_packages/issues/14#issuecomment-1653651447
63+
# https://github.com/ACCESS-NRI/spack-packages/issues/14#issuecomment-1653651447
6464
def make_linker_args(self, spec, name, namespecs):
6565
path = join_path(spec[name].prefix, "lib")
6666
return " ".join(

packages/um/package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _get_linker_args(self, spec, fcm_libname):
170170
spec[dep_name].libs.ld_flags,
171171
self._lib_cfg[fcm_libname]["fcm_ld_flags"]]
172172
# The reason for the explicit -rpath is:
173-
# https://github.com/ACCESS-NRI/spack_packages/issues/14#issuecomment-1653651447
173+
# https://github.com/ACCESS-NRI/spack-packages/issues/14#issuecomment-1653651447
174174
rpaths = ["-Wl,-rpath=" + d for d in spec[dep_name].libs.directories]
175175

176176
# Both ld_flags and rpaths are lists of strings.

packages/um7/package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _exe_name(self, optim_value):
7575
def _get_linker_args(self, spec, name):
7676
"""
7777
The reason for the explicit -rpath is:
78-
https://github.com/ACCESS-NRI/spack_packages/issues/14#issuecomment-1653651447
78+
https://github.com/ACCESS-NRI/spack-packages/issues/14#issuecomment-1653651447
7979
"""
8080
return " ".join(
8181
[(spec[name].libs).ld_flags,

0 commit comments

Comments
 (0)