summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/llvm/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/llvm/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/llvm/package.py')
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py20
1 files changed, 4 insertions, 16 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py
index 9e2eb858ec..e94ff94d75 100644
--- a/var/spack/repos/builtin/packages/llvm/package.py
+++ b/var/spack/repos/builtin/packages/llvm/package.py
@@ -76,9 +76,7 @@ class Llvm(CMakePackage, CudaPackage):
# to save space, build with `build_type=Release`.
variant(
- "clang",
- default=True,
- description="Build the LLVM C/C++/Objective-C compiler frontend",
+ "clang", default=True, description="Build the LLVM C/C++/Objective-C compiler frontend"
)
variant(
"flang",
@@ -96,10 +94,7 @@ class Llvm(CMakePackage, CudaPackage):
variant("lld", default=True, description="Build the LLVM linker")
variant("mlir", default=False, when="@10:", description="Build with MLIR support")
variant(
- "internal_unwind",
- default=True,
- when="+clang",
- description="Build the libcxxabi libunwind",
+ "internal_unwind", default=True, when="+clang", description="Build the libcxxabi libunwind"
)
variant(
"polly",
@@ -107,10 +102,7 @@ class Llvm(CMakePackage, CudaPackage):
description="Build the LLVM polyhedral optimization plugin, " "only builds for 3.7.0+",
)
variant(
- "libcxx",
- default=True,
- when="+clang",
- description="Build the LLVM C++ standard library",
+ "libcxx", default=True, when="+clang", description="Build the LLVM C++ standard library"
)
variant(
"compiler-rt",
@@ -123,11 +115,7 @@ class Llvm(CMakePackage, CudaPackage):
default=(sys.platform != "darwin"),
description="Add support for LTO with the gold linker plugin",
)
- variant(
- "split_dwarf",
- default=False,
- description="Build with split dwarf information",
- )
+ variant("split_dwarf", default=False, description="Build with split dwarf information")
variant(
"llvm_dylib",
default=True,