Skip to content

Commit

Permalink
2.5.6-2
Browse files Browse the repository at this point in the history
Fix PPC64 Debian packaging
  • Loading branch information
kwen2501 committed Dec 7, 2019
1 parent 299c554 commit 6bb953d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion makefiles/version.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ NCCL_MAJOR := 2
NCCL_MINOR := 5
NCCL_PATCH := 6
NCCL_SUFFIX :=
PKG_REVISION := 1
PKG_REVISION := 2
9 changes: 2 additions & 7 deletions pkg/debian/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6bb953d

Please sign in to comment.