Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Dec 31, 2024
1 parent 05be286 commit 5887ff9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/bootstrap/src/core/build_steps/gcc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,16 @@ impl Step for Gcc {
let deps_dir = out_dir.join("deps");
t!(fs::create_dir_all(&deps_dir));

// Download dependencies into the build directory, to avoid modifying the source dir
// Download dependencies into the build directory, to avoid modifying the source directory
// The configure script should automatically find them in the build directory
command(root.join("contrib/download_prerequisites"))
.current_dir(&root)
.arg("--directory")
.arg(deps_dir)
.run(builder);
// command(root.join("contrib/download_prerequisites"))
// The script sadly tries to write symlinks to the source directory, even if we
// actually download the dependencies elsewhere.
// .allow_failure()
// .current_dir(&root)
// .arg("--directory")
// .arg(&deps_dir)
// .run(builder);

let mut configure_cmd = command(root.join("configure"));
configure_cmd
Expand Down

0 comments on commit 5887ff9

Please sign in to comment.