Skip to content

Commit

Permalink
ppc64 build cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Viral B. Shah committed Aug 31, 2016
1 parent 8d236ea commit 83b0589
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deps/llvm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ LLVM_CMAKE += -DLLDB_DISABLE_PYTHON=ON
endif # LLDB_DISABLE_PYTHON
endif # BUILD_LLDB

ifeq ($(ARCH), ppc64)
ifneq (,$(filter $(ARCH), powerpc64le ppc64le))
LLVM_CXXFLAGS += -mminimal-toc
endif # ARCH == ppc64
endif

# LLVM bug #24157
ifeq ($(USE_LLVM_SHLIB),1)
Expand Down
5 changes: 5 additions & 0 deletions deps/openblas.version
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
ifneq (,$(filter $(ARCH), powerpc64le ppc64le))
OPENBLAS_BRANCH=develop
OPENBLAS_SHA1=515bc56ea92cf7afa6c8316eb0f760439944300b
else
OPENBLAS_BRANCH=v0.2.18
OPENBLAS_SHA1=12ab1804b6ebcd38b26960d65d254314d8bc33d6
endif
2 changes: 1 addition & 1 deletion deps/unwind.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ endif
#todo: libunwind tests are known to fail, so they aren't run
$(LIBUNWIND_TARGET_OBJ): $(LIBUNWIND_TARGET_SOURCE)
$(call make-install,libunwind-$(UNWIND_VER),)
ifeq ($(ARCH), ppc64)
ifneq (,$(filter $(ARCH), powerpc64le ppc64le))
@# workaround for configure script bug
mv $(build_prefix)/lib64/libunwind*.a $(build_libdir)
endif
Expand Down

0 comments on commit 83b0589

Please sign in to comment.