Bug#1071019: openturns: please add support for loong64
wuruilong
wuruilong at loongson.cn
Mon May 13 04:00:03 BST 2024
Source: openturns
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64
X-Debbugs-Cc: wuruilong at loongson.cn
Dear Maintainer,
openturns compiled incorrectly on loongarch architecture, the attached patch solved the above problem and compiled successfully. Please refer to patch to modify the code.
wuruilong
-- System Information:
Debian Release: trixie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)
Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
-------------- next part --------------
--- openturns-1.21.1/debian/rules 2024-04-18 21:10:50.000000000 +0000
+++ openturns/debian/rules 2024-05-13 02:52:40.370327122 +0000
@@ -29,6 +29,11 @@
test_discardflags := -E \\\"Dlib_.*\\\"
endif
+# On loong64, deactivating Dlib tests (seems to be a bug in Dlib)
+ifeq ($(shell dpkg --print-architecture),loong64)
+ test_discardflags := -E \\\"Dlib_.*\\\"
+endif
+
BUILD_DATE = $(shell date --utc --date="@$(SOURCE_DATE_EPOCH)" "+%a, %d %b %Y %H:%M:%S %z")
%:
More information about the debian-science-maintainers
mailing list