Skip to content

Commit

Permalink
make llvmpasses test work for out-of-source
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Aug 31, 2018
1 parent eebb4af commit 9158101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ all: debug release
# sort is used to remove potential duplicates
DIRS := $(sort $(build_bindir) $(build_depsbindir) $(build_libdir) $(build_private_libdir) $(build_libexecdir) $(build_includedir) $(build_includedir)/julia $(build_sysconfdir)/julia $(build_datarootdir)/julia $(build_datarootdir)/julia/stdlib $(build_man1dir))
ifneq ($(BUILDROOT),$(JULIAHOME))
BUILDDIRS := $(BUILDROOT) $(addprefix $(BUILDROOT)/,base src ui doc deps test test/embedding)
BUILDDIRS := $(BUILDROOT) $(addprefix $(BUILDROOT)/,base src ui doc deps test test/embedding test/llvmpasses)
BUILDDIRMAKE := $(addsuffix /Makefile,$(BUILDDIRS))
DIRS := $(DIRS) $(BUILDDIRS)
$(BUILDDIRMAKE): | $(BUILDDIRS)
Expand Down
2 changes: 1 addition & 1 deletion test/llvmpasses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ SRCDIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
JULIAHOME := $(abspath $(SRCDIR)/../..)
include $(JULIAHOME)/Make.inc
test:
PATH=$$PATH:$(build_depsbindir) $(build_depsbindir)/lit/lit.py -v .
PATH=$$PATH:$(build_depsbindir) $(build_depsbindir)/lit/lit.py -v $(SRCDIR)
.PHONY: test

0 comments on commit 9158101

Please sign in to comment.