Skip to content
Snippets Groups Projects
Commit d10c94b0 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: use system opengl and glx

parent 0bf94018
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !757. Comments created here will be created in the context of that merge request.
......@@ -45,6 +45,8 @@ apt-get -yqq install --no-install-recommends \
less \
libcbor-xs-perl \
libjson-xs-perl \
libopengl0 \
libglx0 \
locales \
lua-posix \
make \
......
......@@ -56,6 +56,7 @@ declare -A target=(["linux/amd64"]="x86_64_v2" ["linux/arm64"]="aarch64")
target=${target[${TARGETPLATFORM}]}
spack config --scope site add "packages:all:require:[target=${target}]"
spack config --scope site add "packages:all:target:[${target}]"
spack external find --scope site llvm
spack config blame packages
spack config --scope user add "config:suppress_gpg_warnings:true"
spack config --scope user add "config:build_jobs:${jobs}"
......
......@@ -149,6 +149,9 @@ packages:
lcov:
require:
- '@1.16'
libglx:
require:
- opengl
lhapdf:
require:
- '@6.5.1'
......@@ -159,7 +162,7 @@ packages:
mesa:
require:
- '@22.1.6'
- +glx -llvm +opengl +opengles +osmesa
- +glx +llvm +opengl +opengles +osmesa
nlohmann-json:
require:
- '@3.11.2'
......@@ -175,6 +178,10 @@ packages:
require:
- '@7.7.1'
- +application_framework -vtk
opengl:
externals:
- spec: opengl@4.6
prefix: /usr
osg-ca-certs:
require:
- '@1.109.igtf.1.117'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment