summaryrefslogtreecommitdiff
path: root/lang/julia/files/check_openblas.c
diff options
context:
space:
mode:
authorEric Reardon <rizor.reardon_yahoo.com>2021-12-29 12:28:50 +0300
committerGleb Popov <arrowd@FreeBSD.org>2021-12-29 14:39:58 +0300
commit6b461fe1192987ac36bd1c1af3d517b8e6497fc2 (patch)
treedc67d8439d36bd0a5f51eb108441a32207d1a559 /lang/julia/files/check_openblas.c
parentwww/nextcloud-calendar: Update to 3.0.4 (diff)
lang/julia: Bring back the port.
Reviewed By: thierry, tcberner, Greg V <greg@unrelenting.technology>, Filipe da Silva Santos <contact@shiori.com.br>, arrowd Differential Revision: https://reviews.freebsd.org/D33121
Diffstat (limited to 'lang/julia/files/check_openblas.c')
-rw-r--r--lang/julia/files/check_openblas.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/julia/files/check_openblas.c b/lang/julia/files/check_openblas.c
new file mode 100644
index 000000000000..6218d3507c65
--- /dev/null
+++ b/lang/julia/files/check_openblas.c
@@ -0,0 +1,10 @@
+#include <string.h>
+
+char* openblas_get_config(void);
+
+int main()
+{
+ if (strstr(openblas_get_config(), "USE64BITINT") == NULL)
+ return 1;
+ return 0;
+}