Skip to content

Commit

Permalink
Account for absence of --version flag for apple ar
Browse files Browse the repository at this point in the history
Remove --solver specification in conda build as mamba is the default
  • Loading branch information
langmm committed May 29, 2024
1 parent fba7a47 commit bb8bfda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions utils/setup_test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,8 +1185,8 @@ def build_conda_recipe(recipe='recipe', param=None,
# else:
conda_build = f"{CONDA_CMD} build"
build_pkgs = ["conda-build", "conda-verify"]
if param.use_mamba:
build_flags += ' --solver=libmamba'
# if param.use_mamba:
# build_flags += ' --solver=libmamba'
# Must always build in base to avoid errors (and don't change the
# version of Python used in the environment)
# https://github.com/conda/conda/issues/9124
Expand Down
3 changes: 2 additions & 1 deletion yggdrasil/drivers/CModelDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ class ARArchiver(ArchiverBase):
toolset = 'gnu'
version_regex = [
r'(?P<version>GNU ar \(.+\) \d+\.\d+(?:\.\d+)?'
r'(?:\-[\.0-9a-zA-Z]+)?)']
r'(?:\-[\.0-9a-zA-Z]+)?)',
r'(?P<version>ar \-d \[\-TLsv\].+)']
compatible_toolsets = ['llvm']
search_path_envvar = ['LIBRARY_PATH']

Expand Down

0 comments on commit bb8bfda

Please sign in to comment.