summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2024-11-09 08:30:38 -0500
committerGitHub <noreply@github.com>2024-11-09 07:30:38 -0600
commit1884520f7bc73e784f8638b73691081260af572e (patch)
treeece98cd0f5bb3dfd9439d6ee3275c8bb9168bde4 /var
parent7fbfb0f6dc962a18efbaefdf199f3a8e3760194a (diff)
downloadspack-1884520f7bc73e784f8638b73691081260af572e.tar.gz
spack-1884520f7bc73e784f8638b73691081260af572e.tar.bz2
spack-1884520f7bc73e784f8638b73691081260af572e.tar.xz
spack-1884520f7bc73e784f8638b73691081260af572e.zip
root: fix macos build (#47483)
No ROOT `builtin` should ever be set to true if possible, because that builds an existing library that spack may not know about. Furthermore, using `builtin_glew` forces the package to be on, even when not building x/gl/aqua on macos. This causes build failures. Caused by https://github.com/spack/spack/pull/45632#issuecomment-2276311748 .
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/root/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index 106bde9775..e6da973906 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -634,7 +634,7 @@ class Root(CMakePackage):
define("builtin_freetype", False),
define("builtin_ftgl", False),
define("builtin_gl2ps", False),
- define("builtin_glew", self.spec.satisfies("platform=darwin")),
+ define("builtin_glew", False),
define("builtin_gsl", False),
define("builtin_llvm", True),
define("builtin_lz4", self.spec.satisfies("@6.12.02:6.12")),