File tree 5 files changed +34
-5
lines changed
5 files changed +34
-5
lines changed Original file line number Diff line number Diff line change @@ -745,7 +745,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
745
745
endif ()
746
746
747
747
# boost is only required by some components
748
- if (BUILD_VINEYARD_SERVER OR BUILD_VINEYARD_IO OR BUILD_VINEYARD_GRAPH)
748
+ if (BUILD_VINEYARD_SERVER OR BUILD_VINEYARD_IO OR BUILD_VINEYARD_GRAPH OR BUILD_VINEYARD_LLM_CACHE )
749
749
find_boost()
750
750
endif ()
751
751
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
# build vineyard-python-dev
16
- FROM ghcr.io/aibrix/v6d/vineyard-manylinux2014:20241014 as wheel
16
+ FROM ghcr.io/aibrix/v6d/vineyard-manylinux2014:20241108 as wheel
17
17
18
18
ENV python=cp310-cp310
19
19
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ ALPINE_TAG := $(ALPINE_MANIFEST_TAG)_$(PLATFORM)
18
18
19
19
WHEEL_BUILDER_REGISTRY := $(REGISTRY )
20
20
WHEEL_BUILDER_IMAGE := vineyard-manylinux2014
21
- WHEEL_BUILDER_MANIFEST_TAG := 20241014
21
+ WHEEL_BUILDER_MANIFEST_TAG := 20241108
22
22
WHEEL_BUILDER_TAG := $(WHEEL_BUILDER_MANIFEST_TAG ) _$(PLATFORM )
23
23
24
24
WHEEL_PYTHON := cp311-cp311
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ RUN mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backu
26
26
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-altarch-7.repo; \
27
27
fi && \
28
28
yum -y update && \
29
- yum -y install devtoolset-10-libatomic-devel libtool
29
+ yum -y install devtoolset-10-libatomic-devel libtool openmpi-devel wget
30
30
31
31
# target: ghcr.io/aibrix/v6d/vineyard-manylinux2014:20240218_$PLATFORM
32
32
@@ -67,6 +67,35 @@ RUN echo "Installing gflags ..." && \
67
67
make install -j`nproc` && \
68
68
rm -rf /deps
69
69
70
+ # Install boost
71
+ RUN echo "Installing boost ..." && \
72
+ cd /tmp && \
73
+ wget -q https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz && \
74
+ tar zxf boost_1_75_0.tar.gz && \
75
+ cd boost_1_75_0 && \
76
+ ./bootstrap.sh && \
77
+ ./b2 install -j`nproc` link=static runtime-link=static variant=release threading=multi \
78
+ --with-atomic \
79
+ --with-chrono \
80
+ --with-date_time \
81
+ --with-filesystem \
82
+ --with-random \
83
+ --with-system \
84
+ --with-thread && \
85
+ cd /tmp && \
86
+ rm -rf boost_1_75_0.tar.gz boost_1_75_0
87
+
88
+ # Install openssl
89
+ RUN echo "Installing openssl ..." && \
90
+ cd /tmp && \
91
+ wget -q --no-check-certificate https://www.openssl.org/source/openssl-1.1.1j.tar.gz && \
92
+ tar zxf openssl-1.1.1j.tar.gz && \
93
+ cd openssl-1.1.1j && \
94
+ ./config -no-shared -no-tests && \
95
+ make -j`nproc` && make install -j`nproc` || true && \
96
+ cd /tmp && \
97
+ rm -rf openssl-1.1.1j.tar.gz openssl-1.1.1j
98
+
70
99
RUN echo "Installing apache-arrow ..." && \
71
100
mkdir -p /deps && \
72
101
cd /deps && \
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ ADD . /work/v6d
32
32
RUN cd /work/v6d && \
33
33
mkdir build && \
34
34
cd build && \
35
- export PATH=/opt/python/$python/bin:$PATH && \
35
+ export PATH=/usr/lib64/openmpi/bin/:/ opt/python/$python/bin:$PATH && \
36
36
pip install -U pip setuptools wheel libclang parsec && \
37
37
cmake .. -DCMAKE_CXX_STANDARD=17 \
38
38
-DBUILD_SHARED_LIBS=OFF \
You can’t perform that action at this time.
0 commit comments