-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker file for building infinistore and instructions in README.md #127
base: main
Are you sure you want to change the base?
Conversation
7ef969f
to
0c2da1d
Compare
Dockerfile
Outdated
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install necessary build dependencies and dependencies for Python 3.12 | ||
RUN dnf install -y python3.12 python3.12-pip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
manylinux pre-installed python. such as /opt/python/cp312-cp312/bin/python3.12. you can try to build wheel package by this script build_manylinux_wheels.sh
Dockerfile
Outdated
WORKDIR boost_${BOOST_VERSION_UNDER} | ||
|
||
# 配置 Boost | ||
# 注意:这里使用 layout=system 以确保库文件安装在标准位置 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use english comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Dockerfile
Outdated
|
||
# 配置 Boost | ||
# 注意:这里使用 layout=system 以确保库文件安装在标准位置 | ||
RUN ./bootstrap.sh --prefix=${INSTALL_PREFIX} --with-libraries=system,filesystem,thread,program_options,chrono,regex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think stacktrace is missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Install boost from public now
-j$(nproc) \ | ||
--layout=system | ||
# Somehow the above doesn't build boost_stacktrace_basic, so install it | ||
RUN dnf install -y boost boost-devel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if you could install boost-devel directly, so it is not necessary to build boost anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
0c2da1d
to
2c09e08
Compare
RUN yum -y install rdma-core-devel libuv-devel | ||
|
||
# The cuda is not available from dnf sources and have to download and install manually | ||
RUN curl -O https://developer.download.nvidia.com/compute/cuda/12.8.0/local_installers/cuda-repo-rhel8-12-8-local-12.8.0_570.86.10-1.x86_64.rpm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cuda will be removed ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean cuda could be removed from the installation list?
henry.guo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
The Dockerfile for building infinistore project in a docker container