File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ RUN if [ "${GGML_SYCL_F16}" = "ON" ]; then \
14
14
echo "GGML_SYCL_F16 is set" && \
15
15
export OPT_SYCL_F16="-DGGML_SYCL_F16=ON" ; \
16
16
fi && \
17
- cmake -B build -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx ${OPT_SYCL_F16} && \
17
+ echo "Building with static libs" && \
18
+ cmake -B build -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx \
19
+ ${OPT_SYCL_F16} -DBUILD_SHARED_LIBS=OFF && \
18
20
cmake --build build --config Release --target llama-cli
19
21
20
22
FROM intel/oneapi-basekit:$ONEAPI_VERSION AS runtime
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ RUN if [ "${GGML_SYCL_F16}" = "ON" ]; then \
14
14
echo "GGML_SYCL_F16 is set" && \
15
15
export OPT_SYCL_F16="-DGGML_SYCL_F16=ON" ; \
16
16
fi && \
17
+ echo "Building with dynamic libs" && \
17
18
cmake -B build -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DLLAMA_CURL=ON ${OPT_SYCL_F16} && \
18
19
cmake --build build --config Release --target llama-server
19
20
You can’t perform that action at this time.
0 commit comments