File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 29
29
# Build script for mesa and offscreen mesa (osmesa)
30
30
#
31
31
# ------------------------------------------------------------------------------
32
- mesaPACKAGE=mesa-20.3 .5
32
+ mesaPACKAGE=mesa-22.2 .5
33
33
offscreen=false
34
34
35
35
# ------------------------------------------------------------------------------
@@ -111,18 +111,18 @@ prefixDIR=$installBASE/$mesaDIR
111
111
options=" \
112
112
-Dprefix=$prefixDIR \
113
113
-Dgallium-drivers=swrast \
114
- -Dllvm=true \
114
+ -Dllvm=enabled \
115
115
-Ddri-drivers=[] \
116
116
-Dvulkan-drivers=[] \
117
- -Dgbm=false \
118
- -Degl=false "
117
+ -Dgbm=disabled \
118
+ -Degl=disabled "
119
119
if ! $offscreen
120
120
then
121
- options=" $options \
122
- -Dglx=gallium-xlib"
121
+ $WM_PROJECT_DIR /bin/tools/foamVersionCompare ${mesaPACKAGE# mesa-* } lt 22 \
122
+ && options=" $options -Dglx=gallium-xlib" \
123
+ || options=" $options -Dglx=xlib"
123
124
else
124
- options=" $options \
125
- -Dosmesa=gallium"
125
+ options=" $options -Dosmesa=gallium"
126
126
fi
127
127
128
128
# Build mesa
@@ -168,7 +168,7 @@ Execute ParaView with mesa libraries by running:
168
168
169
169
Mesa_DIR=\$ WM_THIRD_PARTY_DIR/platforms/\$ WM_ARCH\$ WM_COMPILER/$mesaDIR
170
170
171
- LD_LIBRARY_PATH =\$ LD_LIBRARY_PATH: \$ (echo \$ Mesa_DIR/lib*) paraview
171
+ LD_PRELOAD =\$ (echo \$ Mesa_DIR/lib*)/libGL.so paraview
172
172
173
173
USAGE
174
174
You can’t perform that action at this time.
0 commit comments