File tree 2 files changed +2
-14
lines changed
2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ use super::utils::{copy_dir_recursively, spawn_and_wait};
11
11
pub ( crate ) fn prepare ( ) {
12
12
prepare_sysroot ( ) ;
13
13
14
- eprintln ! ( "[INSTALL] hyperfine" ) ;
15
- Command :: new ( "cargo" ) . arg ( "install" ) . arg ( "hyperfine" ) . spawn ( ) . unwrap ( ) . wait ( ) . unwrap ( ) ;
16
-
17
14
clone_repo_shallow_github (
18
15
"rand" ,
19
16
"rust-random" ,
@@ -43,17 +40,6 @@ pub(crate) fn prepare() {
43
40
"simple-raytracer" ,
44
41
"804a7a21b9e673a482797aa289a18ed480e4d813" ,
45
42
) ;
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 ( ) ;
57
43
}
58
44
59
45
fn prepare_sysroot ( ) {
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ export RUSTC=false # ensure that cg_llvm isn't accidentally used
8
8
MY_RUSTC=" $( pwd) /build/bin/cg_clif.exe $RUSTFLAGS -L crate=target/out --out-dir target/out -Cdebuginfo=2"
9
9
10
10
function no_sysroot_tests() {
11
+ ls build/bin
12
+
11
13
echo " [BUILD] mini_core"
12
14
$MY_RUSTC example/mini_core.rs --crate-name mini_core --crate-type lib,dylib --target " $TARGET_TRIPLE "
13
15
You can’t perform that action at this time.
0 commit comments