Source: pocl
Version: 0.10-10
Tags: patch

It failed to build on arm64 with this error:

clang: error: the clang compiler does not support '-march=generic'

See https://buildd.debian.org/status/package.php?p=pocl&suite=sid

The attached patch gets the build script not to use any -march, which
is probably what you want on arm64 for now.
diff -ru pocl-0.10.orig/debian/supported-archs pocl-0.10/debian/supported-archs
--- pocl-0.10.orig/debian/supported-archs       2014-10-25 21:23:43.000000000 
+0000
+++ pocl-0.10/debian/supported-archs    2015-06-03 23:14:28.560000000 +0000
@@ -2,7 +2,7 @@
 LLVM_ARCH=x86-64
 
 DEB_ARCH: arm64
-LLVM_ARCH=generic
+LLVM_ARCH=(unknown)
 
 DEB_ARCH: armel
 LLVM_ARCH=arm710t

Reply via email to