Skip to content

Commit 6733138

Browse files
feat: add c_programs to PATH and increase chunk size to 200
1 parent ee2f1e7 commit 6733138

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ case ${TARGET} in
9696
TEST_RUNNER="${CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER}"
9797
TEST_SKIP_INTRINSICS=crates/intrinsic-test/missing_x86.txt
9898
export STDARCH_DISABLE_ASSERT_INSTR=1
99+
PATH="$PATH":"$(pwd)"/c_programs
100+
export PATH
99101

100102
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+avx"
101103
cargo_test "${PROFILE}"

crates/intrinsic-test/src/common/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub trait SupportedArchitectureTest {
4949
fn cpp_compilation(&self) -> Option<CppCompilation>;
5050

5151
fn build_c_file(&self) -> bool {
52-
let (chunk_size, chunk_count) = manual_chunk(self.intrinsics().len(), 100);
52+
let (chunk_size, chunk_count) = manual_chunk(self.intrinsics().len(), 200);
5353

5454
let cpp_compiler_wrapped = self.cpp_compilation();
5555

@@ -126,7 +126,7 @@ pub trait SupportedArchitectureTest {
126126
fn build_rust_file(&self) -> bool {
127127
std::fs::create_dir_all("rust_programs/src").unwrap();
128128

129-
let (chunk_size, chunk_count) = manual_chunk(self.intrinsics().len(), 100);
129+
let (chunk_size, chunk_count) = manual_chunk(self.intrinsics().len(), 200);
130130

131131
let mut cargo = File::create("rust_programs/Cargo.toml").unwrap();
132132
write_bin_cargo_toml(&mut cargo, chunk_count).unwrap();

0 commit comments

Comments
 (0)