Skip to content

Commit

Permalink
Revert "fixup! Replace libosxunwind wth LLVM libunwind"
Browse files Browse the repository at this point in the history
This reverts commit 54b2ac4.
  • Loading branch information
omus committed Jan 11, 2021
1 parent 6799efa commit 9704c9e
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions deps/unwind.mk
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,11 @@ $(BUILDDIR)/llvmunwind-$(LLVMUNWIND_VER)/build-compiled: $(BUILDDIR)/llvmunwind-
$(MAKE) -C $(dir $<)
echo 1 > $@

$(build_prefix)/manifest/llvmunwind: $(BUILDDIR)/llvmunwind-$(LLVMUNWIND_VER)/build-compiled | $(build_libdir) $(build_shlibdir) $(build_includedir) $(build_prefix)/manifest
cp $(dir $<)/lib/libunwind.a $(build_libdir)/libunwind.a
cp $(dir $<)/lib/libunwind.$(SHLIB_EXT) $(build_shlibdir)/libunwind.$(SHLIB_EXT)
ln -sf libunwind.$(SHLIB_EXT) $(build_shlibdir)/libunwind.$(JL_MAJOR_SHLIB_EXT)
$(INSTALL_NAME_CMD)libunwind.$(SHLIB_EXT) $(build_shlibdir)/libunwind.$(SHLIB_EXT)
echo $(LLVMUNWIND_VER) > $(build_prefix)/manifest/llvmunwind

# $(eval $(call staged-install, \
# llvmunwind,llvmunwind-$(LLVMUNWIND_VER), \
# MAKE_INSTALL,,,))
$(eval $(call staged-install, \
llvmunwind,llvmunwind-$(LLVMUNWIND_VER), \
MAKE_INSTALL,,,))

clean-llvmunwind:
-rm $(build_prefix)/manifest/llvmunwind
-rm $(BUILDDIR)/llvmunwind-$(LLVMUNWIND_VER)/build-configured $(BUILDDIR)/llvmunwind-$(LLVMUNWIND_VER)/build-compiled
-$(MAKE) -C $(BUILDDIR)/llvmunwind-$(LLVMUNWIND_VER) clean

Expand All @@ -115,7 +107,6 @@ configure-llvmunwind: $(BUILDDIR)/llvmunwind-$(LLVMUNWIND_VER)/build-configured
compile-llvmunwind: $(BUILDDIR)/llvmunwind-$(LLVMUNWIND_VER)/build-compiled
fastcheck-llvmunwind: check-llvmunwind
check-llvmunwind: # no test/check provided by Makefile
install-llvmunwind: $(build_prefix)/manifest/llvmunwind

else # USE_BINARYBUILDER_LIBUNWIND

Expand Down

0 comments on commit 9704c9e

Please sign in to comment.