fix: blender inline
This commit is contained in:
+3
-5
@@ -15,18 +15,16 @@ WORKDIR /home/rocm/blender
|
||||
RUN ./build_files/build_environment/install_linux_packages.py
|
||||
RUN ./build_files/utils/make_update.py --use-linux-libraries
|
||||
|
||||
# Ref: https://github.com/xuhuisheng/rocm-gfx803/blob/master/blender.md
|
||||
RUN sed -i 's/__noinline__/__inline__/g' intern/cycles/kernel/device/hip/compat.h
|
||||
# > Ref: https://github.com/xuhuisheng/rocm-gfx803/blob/master/blender.md
|
||||
# RUN sed -i 's/__noinline__/__inline__/g' intern/cycles/kernel/device/hip/compat.h
|
||||
RUN sed -i 's/major >= 9/major >= 8/g' intern/cycles/device/hip/util.h
|
||||
|
||||
WORKDIR /home/rocm/blender/build
|
||||
RUN cmake \
|
||||
-DWITH_CYCLES_HIP_BINARIES=ON \
|
||||
-DCYCLES_HIP_BINARIES_ARCH=${HIP_ARCH} \
|
||||
-DCMAKE_INSTALL_PREFIX=/opt/blender \
|
||||
-DWITH_INSTALL_PORTABLE=OFF \
|
||||
..
|
||||
RUN make -j$(nproc)
|
||||
RUN cpack -G DEB
|
||||
RUN cpack -G TXZ
|
||||
|
||||
CMD ["bash", "-l"]
|
||||
|
||||
Reference in New Issue
Block a user