Skip to content

Commit 985d447

Browse files
committed
debug-master: bit by bit
1 parent de02601 commit 985d447

23 files changed

+782
-55
lines changed

Cargo.lock

Lines changed: 54 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM docker.io/redhat/ubi8
2+
3+
RUN dnf update -y
4+
RUN dnf install -y gcc git clang python3 make curl libudev-devel cmake clang openssl-devel systemd-devel pkg-config zlib-devel llvm perl-core
5+
6+
COPY cert.pem* /certs/
7+
RUN if [ -e /certs/cert.pem ]; then cp /certs/cert.pem /etc/ssl/cert.pem; fi
8+
RUN if [ -e /certs/cert.pem ]; then cp /certs/cert.pem /etc/pki/tls/cert.pem; fi
9+
10+
WORKDIR /
11+
12+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rust.sh
13+
RUN chmod a+x rust.sh && ./rust.sh -y
14+
15+
RUN cd /solana; . ~/.cargo/env && ./cargo nightly -Z unstable-options build

build.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
PKG_CONFIG_PATH=/opt/rh/gcc-toolset-12/root/usr/lib64/pkgconfig:/usr/lib64/pkgconfig
3+
export PKG_CONFIG_PATH
4+
5+
# ./cargo nightly clean
6+
./cargo nightly build
7+
8+
cd sdk
9+
10+
../cargo nightly build
11+
12+
cd cargo-build-sbf/
13+
14+
../../cargo nightly build

cargo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ case "$1" in
2525
esac
2626

2727
set -x
28-
exec cargo "+${toolchain}" "${@}"
28+
exec cargo "+${toolchain}" -v "${@}"

0 commit comments

Comments
 (0)