Skip to content

Commit 5af9df7

Browse files
committed
rename uenv2 to uenv
1 parent 7468c7d commit 5af9df7

File tree

4 files changed

+13
-23
lines changed

4 files changed

+13
-23
lines changed

packaging/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# For building RPMs.
22

3-
The binary rpm for uenv2 is built in a docker container using the same opensuse/leap version as the target cluster.
3+
The binary rpm for uenv is built in a docker container using the same opensuse/leap version as the target cluster.
44

55
## Docker
66

packaging/suse-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Helper script downloads required slurm headers and calls rpmbuild-wrapper.sh.
99
Options:
1010
-h,--help show this help text
1111
-r,--ref git reference (default HEAD implies use the current source)
12-
--remote uenv github repo (defaults to eth-cscs/uenv2)
12+
--remote uenv github repo (defaults to eth-cscs/uenv)
1313
--slurm-version slurm version to use
1414
--os the suse version (one of 15.5 or 15.6)
1515
"
@@ -19,7 +19,7 @@ TEMP=$(getopt -o r:h --long ref:,remote:,help,os:,slurm-version: -- "$@")
1919

2020
# default Slurm version is 0 -> use system slurm
2121
slurm_version="00.00.0"
22-
git_remote=https://github.com/eth-cscs/uenv2
22+
git_remote=https://github.com/eth-cscs/uenv
2323
git_ref="HEAD"
2424
rpm_os="unset"
2525

packaging/uenv.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Summary: UENV cli and Slurm spank plugin.
55
Prefix: /usr
66

77
License: BSD3
8-
URL: https://github.com/eth-cscs/uenv2
8+
URL: https://github.com/eth-cscs/uenv
99
Source0: %{name}-%{version}.tar.gz
1010

1111
%define _build_id_links none

readme.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,19 @@
1-
# UENV 2
1+
# UENV
22

3-
Documentation for uenv2 is available on the [new cscs documentation](https://eth-cscs.github.io/cscs-docs/software/uenv/).
4-
5-
A rewrite of uenv in C++:
6-
* deployed as static binaries
7-
* no longer supports modification of the environment in the calling shell
8-
* bring the CLI and Slurm plugin under one roof, with a common library
9-
10-
Some old features are gone:
11-
* `uenv view` and `uenv modules` have been removed - the tool can no longer modify the environment of the calling shell
12-
* all views must be loaded with the `--view` flag on `uenv run` and `uenv start`
13-
* or using the `--view` flag of `srun` and `sbatch`.
3+
Documentation for uenv is available on the [CSCS documentation](https://eth-cscs.github.io/cscs-docs/software/uenv/).
144

155
## Alps quickstart
166

177
> Before running the build script, install [uv](https://docs.astral.sh/uv/getting-started/installation/), which is used to provide meson and ninja for the build.
188
19-
To take uenv2 for a test drive on alps,
9+
To take uenv for a test drive on alps,
2010

2111
```
22-
git clone https://github.com/eth-cscs/uenv2.git
12+
git clone https://github.com/eth-cscs/uenv.git
2313
24-
cd uenv2
14+
cd uenv
2515
26-
# this script will build uenv2, and install it in $HOME/.local/$(uname -m)/bin
16+
# this script will build uenv, and install it in $HOME/.local/$(uname -m)/bin
2717
./install-alps-local.sh
2818
```
2919

@@ -55,7 +45,7 @@ There are 4 main components that can be enabled/disabled
5545

5646

5747
```bash
58-
cd uenv2
48+
cd uenv
5949

6050
# make a build directory
6151
mkdir build
@@ -77,7 +67,7 @@ Install [uv](https://docs.astral.sh/uv/getting-started/installation/) to use app
7767

7868
The following will build the cli, and run tests, on an Alps system:
7969
```bash
80-
# from a build directory inside the uenv2 repository
70+
# from a build directory inside the uenv repository
8171
alias e="uvx --with meson,ninja"
8272
CXX=g++-12 e meson setup -Dtests=enabled ..
8373
e meson compile
@@ -134,7 +124,7 @@ meson test unit
134124
Running the `squashfs-mount` tests requires an additional step, because it has to be installed as [setuid](https://en.wikipedia.org/wiki/Setuid).
135125

136126
```bash
137-
cd uenv2
127+
cd uenv
138128

139129
# make a build directory
140130
mkdir build

0 commit comments

Comments
 (0)