adolc/handle-lib64-for-riscv64.patch

36 lines
1.3 KiB
Diff
Raw Normal View History

From 75ef7aee090d3704c8c6dbabf606b220f1834c5b Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.com>
Date: Fri, 7 Oct 2022 15:12:11 +0200
Subject: [PATCH] Add RISCV-64 to the list of 64bit architectures
---
autoconf/ax_boost_base.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: ADOL-C-releases-2.7.2/autoconf/ax_boost_base.m4
===================================================================
--- ADOL-C-releases-2.7.2.orig/autoconf/ax_boost_base.m4
+++ ADOL-C-releases-2.7.2/autoconf/ax_boost_base.m4
@@ -95,7 +95,7 @@ if test "x$want_boost" = "xyes"; then
x86_64)
libsubdirs="lib64 libx32 lib lib64"
;;
- ppc64|s390x|sparc64|aarch64|ppc64le)
+ ppc64|s390x|sparc64|aarch64|ppc64le|riscv64)
libsubdirs="lib64 lib lib64 ppc64le"
;;
esac
Index: ADOL-C-releases-2.7.2/configure
===================================================================
--- ADOL-C-releases-2.7.2.orig/configure
+++ ADOL-C-releases-2.7.2/configure
@@ -18369,7 +18369,7 @@ $as_echo_n "checking for boostlib >= $bo
x86_64)
libsubdirs="lib64 libx32 lib lib64"
;;
- ppc64|s390x|sparc64|aarch64|ppc64le)
+ ppc64|s390x|sparc64|aarch64|ppc64le|riscv64)
libsubdirs="lib64 lib lib64 ppc64le"
;;
esac