Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mesa-builds
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ParaView
mesa-builds
Commits
03ac2ddf
Commit
03ac2ddf
authored
Dec 11, 2015
by
Utkarsh Ayachit
⛰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for OSMesa build.
parent
af8aa1c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
Dockerfile
Dockerfile
+25
-1
No files found.
Dockerfile
View file @
03ac2ddf
...
...
@@ -73,7 +73,6 @@ WORKDIR /opt/tools/mesa-llvm
RUN
cp
/opt/tools/src/mesa-11.0.4/build/linux-x86_64/gallium/targets/libgl-xlib/libGL.so.1.5
.
&&
\
ln
-s
libGL.so.1 libGL.so
&&
\
ln
-s
libGL.so.1.5 libGL.so.1
#----------------------------------------------------------------------------------------------
WORKDIR
/opt/tools/src/openswr-mesa
RUN
git clone https://github.com/OpenSWR/openswr-mesa.git src-avx2
--depth
1
-b
11.0-openswr
...
...
@@ -97,8 +96,33 @@ RUN cp /opt/tools/src/openswr-mesa/src-avx/build/linux-x86_64/gallium/targets/li
ln
-s
libGL.so.1 libGL.so
&&
\
ln
-s
libGL.so.1.5 libGL.so.1
#----------------------------------------------------------------------------------------------
WORKDIR
/opt/tools/src/os-mesa
RUN
wget ftp://ftp.freedesktop.org/pub/mesa/11.0.4/mesa-11.0.4.tar.xz
RUN
tar
Jxf mesa-11.0.4.tar.xz
WORKDIR
/opt/tools/src/os-mesa/mesa-11.0.4
RUN
./configure
\
--disable-xvmc
\
--disable-glx
\
--disable-dri
\
--with-dri-drivers
=
\
--with-gallium-drivers
=
swrast
\
--enable-texture-float
\
--disable-egl
\
--with-egl-platforms
=
\
--enable-gallium-osmesa
\
--enable-gallium-llvm
=
yes
\
--disable-llvm-shared-libs
\
--with-llvm-prefix
=
/opt/tools
\
--prefix
=
/opt/tools/osmesa
RUN
make
-j
25
RUN
make
install
#----------------------------------------------------------------------------------------------
WORKDIR
/opt/tools
RUN
tar
zcvf mesa-llvm.tar.gz mesa-llvm
RUN
tar
zcvf mesa-swr-avx2.tar.gz mesa-swr-avx2
RUN
tar
zcvf mesa-swr-avx.tar.gz mesa-swr-avx
RUN
tar
zcvf osmesa.tar.gz osmesa
CMD
bash
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment