Skip to content

Commit

Permalink
Not sure what I was thinking
Browse files Browse the repository at this point in the history
  • Loading branch information
Pencilcaseman committed May 25, 2024
1 parent 6d4ed6e commit 6c64573
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/builders/make.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ impl Make {
shell.add_command(&format!("module load {dep}"));
}

shell.add_command(&format!("./configure --prefix={install_path:?}"));
// shell.add_command(&format!("./configure --prefix={install_path:?}"));

let mut make_cmd = format!("cmake {source_path:?}");
let mut configure_cmd = format!("./configure --prefix={install_path:?}");

if let Some(flags) = &self.configure_flags {
for flag in flags {
make_cmd.push_str(&format!(" {flag}"));
configure_cmd.push_str(&format!(" {flag}"));
}
}

shell.add_command(&make_cmd);
shell.add_command(&configure_cmd);

// configure.stdout(std::process::Stdio::piped());
// configure.stderr(std::process::Stdio::piped());
Expand Down

0 comments on commit 6c64573

Please sign in to comment.