File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM intel/oneapi-basekit:$ONEAPI_VERSION as build
4
4
5
5
ARG LLAMA_SYCL_F16=OFF
6
6
RUN apt-get update && \
7
- apt-get install -y git
7
+ apt-get install -y git libcurl4-openssl-dev
8
8
9
9
WORKDIR /app
10
10
@@ -16,11 +16,14 @@ RUN mkdir build && \
16
16
echo "LLAMA_SYCL_F16 is set" && \
17
17
export OPT_SYCL_F16="-DLLAMA_SYCL_F16=ON" ; \
18
18
fi && \
19
- cmake .. -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx ${OPT_SYCL_F16} && \
19
+ cmake .. -DLLAMA_SYCL=ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DLLAMA_CURL=ON ${OPT_SYCL_F16} && \
20
20
cmake --build . --config Release --target server
21
21
22
22
FROM intel/oneapi-basekit:$ONEAPI_VERSION as runtime
23
23
24
+ RUN apt-get update && \
25
+ apt-get install -y libcurl4-openssl-dev
26
+
24
27
COPY --from=build /app/build/bin/server /server
25
28
26
29
ENV LC_ALL=C.utf8
You can’t perform that action at this time.
0 commit comments