Skip to content

Commit

Permalink
chore: use precompiled libembree
Browse files Browse the repository at this point in the history
  • Loading branch information
saturday06 committed Jan 18, 2025
1 parent 2fcd8a8 commit 08e553c
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ RUN curl --fail --show-error --location --output /etc/apt/keyrings/githubcli-arc
libdbus-1-dev=* \
libdecor-0-dev=* \
libegl-dev=* \
libembree-dev=* \
libepoxy-dev=* \
libffi-dev=* \
libfftw3-dev=* \
Expand Down Expand Up @@ -111,19 +112,6 @@ RUN if [ "$(uname -m)" = "aarch64" ]; then \
&& rm -fr sse2neon \
; fi

RUN if [ "$(uname -m)" != "x86_64" ]; then \
curl --fail --show-error --location --output embree.tar.gz https://github.com/RenderKit/embree/archive/refs/tags/v4.3.3.tar.gz \
&& test "$(md5sum embree.tar.gz)" = "170a7f8042fa89930f464cda0a0a63fc embree.tar.gz" \
&& mkdir -p embree \
&& pushd embree \
&& tar zxf ../embree.tar.gz --strip-components=1 \
&& cmake . \
&& make \
&& make install \
&& popd \
&& rm -fr embree \
; fi

# ceresのビルド中にビルドが失敗することがある。失敗した場合はNPROCS=1を付与することで解決した。
# 発生していたエラーは次のとおり:
# [ 66%] Building C object source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/anim_channels_edit.c.o
Expand Down

0 comments on commit 08e553c

Please sign in to comment.