fix: blender hip
This commit is contained in:
+2
-2
@@ -23,10 +23,10 @@ RUN ./build_files/utils/make_update.py --use-linux-libraries
|
||||
RUN sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# > Ref: https://github.com/xuhuisheng/rocm-gfx803/blob/master/blender.md
|
||||
# inline broken on blender 4+
|
||||
# inline stalls on blender 4+
|
||||
# blender need at least HIP 5.5.0
|
||||
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
|
||||
RUN sed -i 's/HIP 5.5.0/HIP 5.4.0/g' intern/cycles/cmake/external_libs.cmake
|
||||
|
||||
WORKDIR /home/rocm/blender/build
|
||||
RUN cmake \
|
||||
|
||||
Reference in New Issue
Block a user