Package: postgresl-10
Version: 10.3-1
Severity: wishlist
Tags: patch
User: debian-ri...@lists.debian.org                                             
                                                                                
            
Usertags: riscv64   

Hello,

We are in the process of bootstrapping a Debian port for the
riscv64 architecture (https://wiki.debian.org/RISC-V). It happens that
native spinlocks are not yet supported on RISC-V. Would it be possible
to pass --disable-spinlocks to the configure script like already done
on alpha? This is a first step which allows postgresql to be compiled
and pass the testsuite on riscv64.

Thanks,
Aurelien


diff -Nru postgresql-10-10.3/debian/rules postgresql-10-10.3/debian/rules
--- postgresql-10-10.3/debian/rules     2018-01-20 10:49:03.000000000 +0100
+++ postgresql-10-10.3/debian/rules     2018-03-12 23:24:03.000000000 +0100
@@ -42,7 +42,7 @@
 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
 
 # PostgreSQL 9.5+ does not have native spinlock support on this platform
-ifneq ($(findstring $(DEB_HOST_ARCH), alpha),)
+ifneq ($(findstring $(DEB_HOST_ARCH), alpha riscv64),)
 SPINLOCK_FLAGS = --disable-spinlocks
 endif
 

Reply via email to