Skip to content

Commit

Permalink
Add vulkan and shaderc to x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca committed Nov 20, 2023
1 parent 5091d85 commit 6b7693b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
36 changes: 35 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ ENV \
OPENCOREAMR=0.1.6 \
OPENJPEG=2.5.0 \
OPUS=1.3.1 \
SHADERC=v2023.7 \
SVTAV1=1.7.0 \
THEORA=1.1.1 \
VORBIS=1.3.7 \
VPX=1.13.1 \
VULKANHEADERS=vulkan-sdk-1.3.268.0 \
WEBP=1.3.2 \
X265=3.5 \
XVID=1.3.7
Expand Down Expand Up @@ -454,6 +456,24 @@ RUN \
--enable-shared && \
make && \
make install
RUN \
echo "**** grabbing shaderc ****" && \
mkdir -p /tmp/shaderc && \
git clone \
--branch ${SHADERC} \
--depth 1 https://github.com/google/shaderc.git \
/tmp/shaderc
RUN \
echo "**** compiling shaderc ****" && \
cd /tmp/shaderc && \
./utils/git-sync-deps && \
mkdir -p build && \
cd build && \
cmake -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local \
.. && \
ninja install
RUN \
echo "**** grabbing SVT-AV1 ****" && \
mkdir -p /tmp/svt-av1 && \
Expand Down Expand Up @@ -540,6 +560,18 @@ RUN \
--enable-vp9-highbitdepth && \
make && \
make install
RUN \
echo "**** grabbing vulkan headers ****" && \
mkdir -p /tmp/vulkan-headers && \
git clone \
--branch ${VULKANHEADERS} \
--depth 1 https://github.com/KhronosGroup/Vulkan-Headers.git \
/tmp/vulkan-headers
RUN \
echo "**** compiling vulkan headers ****" && \
cd /tmp/vulkan-headers && \
cmake -S . -B build/ && \
cmake --install build --prefix /usr/local
RUN \
echo "**** grabbing webp ****" && \
mkdir -p /tmp/webp && \
Expand Down Expand Up @@ -626,6 +658,7 @@ RUN \
--enable-libopencore-amrwb \
--enable-libopenjpeg \
--enable-libopus \
--enable-libshaderc \
--enable-libsvtav1 \
--enable-libtheora \
--enable-libv4l2 \
Expand All @@ -647,7 +680,8 @@ RUN \
--enable-stripping \
--enable-vaapi \
--enable-vdpau \
--enable-version3 && \
--enable-version3 \
--enable-vulkan && \
make

RUN \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **20.11.23:** - Add vulkan and shaderc support to x86_64.
* **13.11.23:** - Bump FFmpeg to 6.1.
* **02.11.23:** - Remove `--enable-small` from ffmpeg build options to add back some features.
* **05.10.23:** - Add support for SVT-AV1. Update various libraries.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ full_custom_readme: |
## Versions
* **20.11.23:** - Add vulkan and shaderc support to x86_64.
* **13.11.23:** - Bump FFmpeg to 6.1.
* **02.11.23:** - Remove `--enable-small` from ffmpeg build options to add back some features.
* **05.10.23:** - Add support for SVT-AV1. Update various libraries.
Expand Down

0 comments on commit 6b7693b

Please sign in to comment.