Skip to content

Commit f5dee76

Browse files
committed
[DEBUG]
1 parent 867169d commit f5dee76

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

build_system/prepare.rs

-14
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ use super::utils::{copy_dir_recursively, spawn_and_wait};
1111
pub(crate) fn prepare() {
1212
prepare_sysroot();
1313

14-
eprintln!("[INSTALL] hyperfine");
15-
Command::new("cargo").arg("install").arg("hyperfine").spawn().unwrap().wait().unwrap();
16-
1714
clone_repo_shallow_github(
1815
"rand",
1916
"rust-random",
@@ -43,17 +40,6 @@ pub(crate) fn prepare() {
4340
"simple-raytracer",
4441
"804a7a21b9e673a482797aa289a18ed480e4d813",
4542
);
46-
47-
eprintln!("[LLVM BUILD] simple-raytracer");
48-
let mut build_cmd = Command::new("cargo");
49-
build_cmd.arg("build").env_remove("CARGO_TARGET_DIR").current_dir("simple-raytracer");
50-
spawn_and_wait(build_cmd);
51-
fs::copy(
52-
Path::new("simple-raytracer/target/debug").join(get_file_name("main", "bin")),
53-
// FIXME use get_file_name here too once testing is migrated to rust
54-
"simple-raytracer/raytracer_cg_llvm",
55-
)
56-
.unwrap();
5743
}
5844

5945
fn prepare_sysroot() {

scripts/tests.sh

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export RUSTC=false # ensure that cg_llvm isn't accidentally used
88
MY_RUSTC="$(pwd)/build/bin/cg_clif.exe $RUSTFLAGS -L crate=target/out --out-dir target/out -Cdebuginfo=2"
99

1010
function no_sysroot_tests() {
11+
ls build/bin
12+
1113
echo "[BUILD] mini_core"
1214
$MY_RUSTC example/mini_core.rs --crate-name mini_core --crate-type lib,dylib --target "$TARGET_TRIPLE"
1315

0 commit comments

Comments
 (0)