Skip to content

Commit

Permalink
Leave alpha version in compass dev envs
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Jan 19, 2024
1 parent 96d4f70 commit 345012d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion conda/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,16 @@ def get_env_setup(args, config, machine, compiler, mpi, env_type, source_path,
ver = version.parse(compass_version)
release_version = '.'.join(str(vr) for vr in ver.release)
spack_env = f'dev_compass_{release_version}{env_suffix}'
compass_env = f'dev_compass_{compass_version}{env_suffix}'
elif env_type == 'test_release':
spack_env = f'test_compass_{compass_version}{env_suffix}'
compass_env = spack_env
else:
spack_env = f'compass_{compass_version}{env_suffix}'
compass_env = spack_env

if env_name is None or env_type != 'dev':
env_name = spack_env
env_name = compass_env

# add the compiler and MPI library to the spack env name
spack_env = f'{spack_env}_{compiler}_{mpi}{lib_suffix}'
Expand Down

0 comments on commit 345012d

Please sign in to comment.