Skip to content

Commit

Permalink
makefile: add recipe for agave v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Nov 5, 2024
1 parent f4bb46b commit 466f3da
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions impl/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
TARGETS:=
TARGETS+=lib/libsolfuzz_agave_v1.17.so
TARGETS+=lib/libsolfuzz_agave_v2.0.so
TARGETS+=lib/libsolfuzz_agave_v2.1.0.so
TARGETS+=lib/libsolfuzz_firedancer.so

.PHONY: all $(TARGETS)
Expand All @@ -20,6 +21,13 @@ lib/libsolfuzz_agave_v2.0.so:
TERM=dumb cd agave-v2.0 && cargo build --lib
ln -sf ../agave-v2.0/target/debug/libsolfuzz_agave.so lib/libsolfuzz_agave_v2.0.so

lib/libsolfuzz_agave_v2.1.0.so:
mkdir -p lib
TERM=dumb $(MAKE) -C agave-v2.1.0 build RUST_VERSION=""
ln -sf ../agave-v2.1.0/target/x86_64-unknown-linux-gnu/release/libsolfuzz_agave.so lib/libsolfuzz_agave_sancov_v2.1.0.so
TERM=dumb cd agave-v2.1.0 && cargo build --lib
ln -sf ../agave-v2.1.0/target/debug/libsolfuzz_agave.so lib/libsolfuzz_agave_v2.1.0.so

lib/libsolfuzz_firedancer.so:
mkdir -p lib
[ ! -f firedancer/opt/lib/libssl.a ] && firedancer/deps.sh +dev fetch install || true
Expand All @@ -46,5 +54,6 @@ clean:
find bin -type l -delete || true
[ -d agave-v1.17 ] && $(MAKE) -C agave-v1.17 clean || true
[ -d agave-v2.0 ] && $(MAKE) -C agave-v2.0 clean || true
[ -d agave-v2.1.0 ] && $(MAKE) -C agave-v2.1.0 clean || true
[ -d firedancer ] && rm -rf firedancer/opt && $(MAKE) -C firedancer distclean || true
[ -d solfuzz/build ] && rm -rf solfuzz/build || true

0 comments on commit 466f3da

Please sign in to comment.