Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions devops/containers/ubuntu2204_build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ RUN /install.sh
COPY scripts/install_vulkan.sh /install_vulkan.sh
RUN /install_vulkan.sh

COPY scripts/download_blender.sh /download_blender.sh
RUN /download_blender.sh

# Install ROCM

# Make the directory if it doesn't exist yet.
Expand Down
3 changes: 3 additions & 0 deletions devops/containers/ubuntu2404_build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ RUN /install_vulkan.sh
COPY scripts/build_zstd.sh /build_zstd.sh
RUN /build_zstd.sh

COPY scripts/download_blender.sh /download_blender.sh
RUN /download_blender.sh

SHELL ["/bin/bash", "-ec"]

# Make the directory if it doesn't exist yet.
Expand Down
20 changes: 20 additions & 0 deletions devops/scripts/download_blender.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

set -x
set -e
set -o pipefail

git clone -b v5.1.0 https://projects.blender.org/blender/blender.git
cd blender
make update
rm -rf .git
# Remove deps we will be building.
rm -rf lib/linux_x64/dpcpp
rm -rf lib/linux_x64/embree
rm -rf lib/linux_x64/level-zero
rm -rf lib/linux_x64/openimagedenoise
cd ..

tar -cJf blender_5_1_0.tar.xz blender
rm -rf blender
mv blender_5_1_0.tar.xz /opt/
1 change: 1 addition & 0 deletions devops/scripts/install_build_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ apt update && apt install -yqq \
ccache \
gh \
git \
git-lfs \
python3 \
python3-psutil \
python-is-python3 \
Expand Down
Loading