File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 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 \
1414 echo "GGML_SYCL_F16 is set" && \
1515 export OPT_SYCL_F16="-DGGML_SYCL_F16=ON" ; \
1616 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 && \
1820 cmake --build build --config Release --target llama-cli
1921
2022FROM 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 \
1414 echo "GGML_SYCL_F16 is set" && \
1515 export OPT_SYCL_F16="-DGGML_SYCL_F16=ON" ; \
1616 fi && \
17+ echo "Building with dynamic libs" && \
1718 cmake -B build -DGGML_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DLLAMA_CURL=ON ${OPT_SYCL_F16} && \
1819 cmake --build build --config Release --target llama-server
1920
You can’t perform that action at this time.
0 commit comments