Skip to content

Commit 890c002

Browse files
committed
Invoke make for the binding everytime we make
1 parent 82a15d5 commit 890c002

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

deps/mmtk_julia.mk

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,10 @@ compile-mmtk_julia: $(BUILDROOT)/usr/lib/libmmtk_julia.so
4949

5050
version-check-mmtk_julia: $(MMTK_JULIA_DIR)/mmtk/target/$(MMTK_BUILD)/libmmtk_julia.so
5151

52-
# NB: This will NOT run `cargo build` if there are changes in the Rust source files
53-
# inside the binding repo. However the target below should remake the symlink if there
54-
# are changes in the libmmtk_julia.so from the custom MMTK_JULIA_DIR folder
55-
$(BUILDROOT)/usr/lib/libmmtk_julia.so: $(MMTK_JULIA_DIR)/mmtk/target/$(MMTK_BUILD)/libmmtk_julia.so
52+
$(BUILDROOT)/usr/lib/libmmtk_julia.so: make-binding
5653
@ln -sf $(MMTK_JULIA_DIR)/mmtk/target/$(MMTK_BUILD)/libmmtk_julia.so $@
5754

58-
$(MMTK_JULIA_DIR)/mmtk/target/$(MMTK_BUILD)/libmmtk_julia.so:
55+
make-binding:
5956
@$(PROJECT_DIRS) $(MMTK_VARS) $(MAKE) -C $(MMTK_JULIA_DIR) $(MMTK_BUILD)
6057

6158
MMTK_JULIA_VER := mmtk_julia_custom

0 commit comments

Comments
 (0)