Skip to content

Commit 4016cc9

Browse files
committed
WIP: debug compilation of Cargo
1 parent 3663235 commit 4016cc9

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/ci.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
# We want the four parts to have similar runtimes.
116116
BENCH_INCLUDE_EXCLUDE_OPTS: [
117117
"--include cargo-0.60.0,cargo-0.87.1,stm32f4-0.14.0,webrender-2022",
118-
"--exclude cargo-0.60.0,cargo-0.87.1,stm32f4-0.14.0,webrender-2022",
118+
#"--exclude cargo-0.60.0,cargo-0.87.1,stm32f4-0.14.0,webrender-2022",
119119
]
120120
PROFILES: [
121121
"Check,Debug,Doc",
@@ -151,6 +151,18 @@ jobs:
151151
- name: Build collector
152152
run: cargo build -p collector
153153

154+
- name: Compile cargo
155+
env:
156+
JEMALLOC_OVERRIDE: /usr/lib/x86_64-linux-gnu/libjemalloc.so
157+
run: |
158+
RUST_BACKTRACE=1 RUST_LOG=raw_cargo_messages=trace,collector=debug,rust_sysroot=debug \
159+
bindir=`cargo run -p collector --bin collector install_next --backends Llvm`
160+
bindir=`realpath $bindir`
161+
ls -lha ${bindir}
162+
cd collector/compile-benchmarks/cargo-0.87.1
163+
echo "compiling Cargo"
164+
RUSTC=$bindir/rustc RUSTDOC=$bindir/rustdoc $bindir/cargo build --release
165+
154166
- name: Check compile benchmarks
155167
run: sh -x -c "ci/check-compile-benchmarks.sh"
156168
env:

0 commit comments

Comments
 (0)