Skip to content

Commit

Permalink
Add a Legion Spy build to experimental setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Jul 29, 2024
1 parent 29e08a0 commit d4e8005
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion experiment/common/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cd "$root_dir"
function build_legion_config {
config_name="$1"
cmake_build_type="$2"
extra_cmake_flags="$3"

build_dir="build_${config_name}"
install_dir="$PWD/install_${config_name}"
Expand All @@ -35,7 +36,7 @@ function build_legion_config {
-DBUILD_MARCH= # to avoid -march=native for valgrind compatibility
)
fi
cmake "${cmake_flags[@]}" ..
cmake "${cmake_flags[@]}" $extra_cmake_flags ..
make install -j${FUZZER_THREADS:-4}
popd
}
Expand Down Expand Up @@ -69,8 +70,10 @@ fi

pushd legion
build_legion_config debug_single Debug
build_legion_config spy_single Debug -DLegion_SPY=ON
build_legion_config release_single Release
popd

build_fuzzer_config debug_single RelWithDebInfo
build_fuzzer_config spy_single RelWithDebInfo
build_fuzzer_config release_single Release

0 comments on commit d4e8005

Please sign in to comment.