Skip to content

Commit

Permalink
add xgboost to ld cache (sustainable-computing-io#1071)
Browse files Browse the repository at this point in the history
Signed-off-by: Huamin Chen <[email protected]>
  • Loading branch information
rootfs authored and vprashar2929 committed Dec 19, 2023
1 parent 1e9ad14 commit 826dc94
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/Dockerfile.bcc.base
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN yum install cmake git gcc gcc-c++ -y; \
git clone --recursive https://github.com/dmlc/xgboost; \
cd xgboost; git checkout tags/${XGBOOST_VERSION}; \
mkdir build; cd build; cmake ..; make -j$(nproc); make install; \
echo "/usr/local/lib64" > /etc/ld.so.conf.d/xgboost.conf; ldconfig; ldconfig -p | grep xgboost; \
yum remove cmake git gcc gcc-c++ -y

# nvidia driver is updated on a (bi)monthly basis
Expand Down
1 change: 1 addition & 0 deletions build/Dockerfile.bcc.base.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ RUN yum install cmake git gcc gcc-c++ -y; \
git clone --recursive https://github.com/dmlc/xgboost; \
cd xgboost; git checkout tags/${XGBOOST_VERSION}; \
mkdir build; cd build; cmake ..; make -j$(nproc); make install; \
echo "/usr/local/lib64" > /etc/ld.so.conf.d/xgboost.conf; ldconfig; ldconfig -p | grep xgboost; \
yum remove cmake git gcc gcc-c++ -y

1 change: 1 addition & 0 deletions build/Dockerfile.bcc.base.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ RUN yum install cmake git gcc gcc-c++ -y; \
git clone --recursive https://github.com/dmlc/xgboost; \
cd xgboost; git checkout tags/${XGBOOST_VERSION}; \
mkdir build; cd build; cmake ..; make -j$(nproc); make install; \
echo "/usr/local/lib64" > /etc/ld.so.conf.d/xgboost.conf; ldconfig; ldconfig -p | grep xgboost; \
yum remove cmake git gcc gcc-c++ -y
1 change: 1 addition & 0 deletions build/Dockerfile.bcc.base.s390x
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ RUN yum install cmake git gcc gcc-c++ -y; \
git clone --recursive https://github.com/dmlc/xgboost; \
cd xgboost; git checkout tags/${XGBOOST_VERSION}; \
mkdir build; cd build; cmake ..; make -j$(nproc); make install; \
echo "/usr/local/lib64" > /etc/ld.so.conf.d/xgboost.conf; ldconfig; ldconfig -p | grep xgboost; \
yum remove cmake git gcc gcc-c++ -y
4 changes: 3 additions & 1 deletion build/Dockerfile.libbpf.base
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ ENV nproc=8
RUN yum install cmake git gcc gcc-c++ -y; \
git clone --recursive https://github.com/dmlc/xgboost; \
cd xgboost; git checkout tags/${XGBOOST_VERSION}; \
mkdir build; cd build; cmake ..; make -j$(nproc); make install;
mkdir build; cd build; cmake ..; make -j$(nproc); make install; \
echo "/usr/local/lib64" > /etc/ld.so.conf.d/xgboost.conf; ldconfig; ldconfig -p | grep xgboost; \
yum remove cmake git gcc gcc-c++ -y
# nvidia driver is updated on a (bi)monthly basis
# RUN yum install -y nvidia-driver-NVML nvidia-driver-cuda

1 change: 1 addition & 0 deletions build/Dockerfile.libbpf.base.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN yum install cmake git gcc gcc-c++ -y; \
git clone --recursive https://github.com/dmlc/xgboost; \
cd xgboost; git checkout tags/${XGBOOST_VERSION}; \
mkdir build; cd build; cmake ..; make -j$(nproc); make install; \
echo "/usr/local/lib64" > /etc/ld.so.conf.d/xgboost.conf; ldconfig; ldconfig -p | grep xgboost; \
yum remove cmake git gcc gcc-c++ -y

# nvidia driver is updated on a (bi)monthly basis
Expand Down

0 comments on commit 826dc94

Please sign in to comment.