pkgsrc-Changes archive

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

CVS commit: pkgsrc/parallel/pocl



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Sep 20 09:05:31 UTC 2021

Modified Files:
        pkgsrc/parallel/pocl: Makefile

Log Message:
pocl: work around broken CPU detection on aarch64


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/parallel/pocl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/parallel/pocl/Makefile
diff -u pkgsrc/parallel/pocl/Makefile:1.4 pkgsrc/parallel/pocl/Makefile:1.5
--- pkgsrc/parallel/pocl/Makefile:1.4   Fri Jun 11 15:09:23 2021
+++ pkgsrc/parallel/pocl/Makefile       Mon Sep 20 09:05:30 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2021/06/11 15:09:23 nia Exp $
+# $NetBSD: Makefile,v 1.5 2021/09/20 09:05:30 nia Exp $
 
 DISTNAME=      pocl-1.7
 PKGREVISION=   2
@@ -33,6 +33,11 @@ GENERATE_PLIST+=     find ${DESTDIR}${PREFIX
 
 .include "../../mk/bsd.prefs.mk"
 
+# "LLVM could not recognize your CPU model automatically..."
+.if !empty(MACHINE_ARCH:Maarch64*)
+CMAKE_ARGS+=   -DLLC_HOST_CPU="cortex-a53"
+.endif
+
 pre-configure:
 .if empty(PKGSRC_COMPILER:M*clang*)
 # XXX: When using GCC, pkgsrc provides 'clang' wrappers that are actually gcc.



Home | Main Index | Thread Index | Old Index