summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gcc/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-02-16 22:06:12 -0700
committerGitHub <noreply@github.com>2023-02-16 23:06:12 -0600
commit603569e321013a1a63a637813c94c2834d0a0023 (patch)
tree366d3ba04458bb748c1f494e270401a56c10a7f2 /var/spack/repos/builtin/packages/gcc/package.py
parentb9358099488b6c9851e28ca912c8be246178974a (diff)
downloadspack-603569e321013a1a63a637813c94c2834d0a0023.tar.gz
spack-603569e321013a1a63a637813c94c2834d0a0023.tar.bz2
spack-603569e321013a1a63a637813c94c2834d0a0023.tar.xz
spack-603569e321013a1a63a637813c94c2834d0a0023.zip
Style: black 23, skip magic trailing comma (#35351)
* Style: black 23, skip magic trailing commas * isort should use same line length as black * Fix unused import * Update version of black used in CI * Update new packages * Update new packages
Diffstat (limited to 'var/spack/repos/builtin/packages/gcc/package.py')
-rw-r--r--var/spack/repos/builtin/packages/gcc/package.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py
index 3675116952..ad77652ddb 100644
--- a/var/spack/repos/builtin/packages/gcc/package.py
+++ b/var/spack/repos/builtin/packages/gcc/package.py
@@ -765,17 +765,9 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# enable_bootstrap
if spec.satisfies("+bootstrap"):
- options.extend(
- [
- "--enable-bootstrap",
- ]
- )
+ options.extend(["--enable-bootstrap"])
else:
- options.extend(
- [
- "--disable-bootstrap",
- ]
- )
+ options.extend(["--disable-bootstrap"])
# Configure include and lib directories explicitly for these
# dependencies since the short GCC option assumes that libraries
@@ -876,7 +868,6 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# self.build_directory = 'spack-build-nvptx'
with working_dir("spack-build-nvptx", create=True):
-
options = [
"--prefix={0}".format(prefix),
"--enable-languages={0}".format(",".join(spec.variants["languages"].value)),