Fix PPC64 Debian packaging


[ROCm/rccl commit: 6bb953d4e6]
이 커밋은 다음에 포함됨:
Ke Wen
2019-12-05 18:34:55 -08:00
부모 71560fd67b
커밋 8dc42618e4
2개의 변경된 파일3개의 추가작업 그리고 8개의 파일을 삭제
+2 -7
파일 보기
@@ -16,13 +16,8 @@ DEBFILES := compat copyright libnccl-dev.install rules $(DEBGEN)
DEBTARGETS := $(patsubst %, $(DEBPREPDIR)/%, $(DEBFILES))
PKG_TIMESTAMP := $(shell date -R)
ARCH := $(shell uname -m)
PKG_ARCH ?= $(shell uname -m | sed -e "s/x86_64/amd64/g" | sed -e "s/ppc64le/ppc64el/g"| sed -e "s/aarch64/arm64/g")
PKG_MULTIARCH ?= $(shell $(CXX) -print-multiarch)
ifeq ($(PKG_MULTIARCH),)
# Hardwire the PKG_MULTIARCH directory as the RHEL6 distribution agnostic compiler (gcc 4.8.3) doesn't set it
PKG_MULTIARCH := $(ARCH)-linux-gnu
endif
PKG_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
PKG_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
prep : $(DEBTARGETS)
$(MAKE) -C ../.. lic BUILDDIR=$(BUILDDIR)