summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-installer/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-pip/package.py3
3 files changed, 3 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
index 5545053cc8..84b65a5761 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
@@ -226,8 +226,7 @@ class IntelOneapiCompilers(IntelOneApiPackage):
def inject_rpaths(self):
# Sets rpath so the compilers can work without setting LD_LIBRARY_PATH.
patchelf = which("patchelf")
- patchelf.add_default_arg("--set-rpath")
- patchelf.add_default_arg(":".join(self._ld_library_path()))
+ patchelf.add_default_arg("--set-rpath", ":".join(self._ld_library_path()))
for pd in ["bin", "lib", join_path("compiler", "lib", "intel64_lin")]:
for file in find(self.component_prefix.linux.join(pd), "*", recursive=False):
# Try to patch all files, patchelf will do nothing and fail if file
diff --git a/var/spack/repos/builtin/packages/py-installer/package.py b/var/spack/repos/builtin/packages/py-installer/package.py
index 30a4a62072..1bedecf074 100644
--- a/var/spack/repos/builtin/packages/py-installer/package.py
+++ b/var/spack/repos/builtin/packages/py-installer/package.py
@@ -40,6 +40,5 @@ class PyInstaller(Package, PythonExtension):
def setup_dependent_package(self, module, dependent_spec):
installer = dependent_spec["python"].command
- installer.add_default_arg("-m")
- installer.add_default_arg("installer")
+ installer.add_default_arg("-m", "installer")
setattr(module, "installer", installer)
diff --git a/var/spack/repos/builtin/packages/py-pip/package.py b/var/spack/repos/builtin/packages/py-pip/package.py
index dfa85d55bc..d92a53671e 100644
--- a/var/spack/repos/builtin/packages/py-pip/package.py
+++ b/var/spack/repos/builtin/packages/py-pip/package.py
@@ -110,6 +110,5 @@ class PyPip(Package, PythonExtension):
def setup_dependent_package(self, module, dependent_spec):
pip = dependent_spec["python"].command
- pip.add_default_arg("-m")
- pip.add_default_arg("pip")
+ pip.add_default_arg("-m", "pip")
setattr(module, "pip", pip)