[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#980636: amd64 fails



I have almost backported to Buster pytorch and I have found the same error, and probably it's something related with rules file.

In the rules file, CMake options are configured and there's a line:

ifneq (,$(filter $(DEB_HOST_ARCH),amd64 arm64 ppc64el))
export USE_MKLDNN = ON
else
export USE_MKLDNN = OFF
endif


however, is passed to CMake USE_MKLDNN = ON (at least my CMakeCache says it). The question is that replacing:

ifneq (,$(filter $(DEB_HOST_ARCH),amd64 arm64 ppc64el))

by

ifneq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),amd64 arm64 ppc64el))

it solved the issue. I have seen in another places that maybe should be replaced also.



--
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


Reply to: