Skip to content

Commit

Permalink
simd: force use of a single CPU during compilation (#7143)
Browse files Browse the repository at this point in the history
* simd: force use of a single CPU during compilation

* disable memory sanitizer
  • Loading branch information
DavidKorczynski authored Jan 17, 2022
1 parent 8d9b6b5 commit 61dac92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion projects/simd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
mkdir build && cd build
cmake ../prj/cmake \
-DCMAKE_BUILD_TYPE="Release"
make -j$(nproc)

# Force simd to only use a single core, as otherwise memory will be exhausted
make -j1

$CXX $CXXFLAGS -I/src/Simd/src -O3 -DNDEBUG -fPIC \
-c $SRC/simd_load_fuzzer.cpp -o simd_load_fuzzer.o \
Expand Down
1 change: 0 additions & 1 deletion projects/simd/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ auto_ccs:
sanitizers:
- address
- undefined
- memory
main_repo: 'https://github.com/ermig1979/Simd'

0 comments on commit 61dac92

Please sign in to comment.