pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import libflame_openmp variant
Module Name: pkgsrc-wip
Committed By: Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By: matthewd
Date: Mon Feb 13 06:15:42 2023 -0800
Changeset: 79b67c47e899c8486a16f98f77986eaaafdb5abd
Added Files:
libflame_openmp/DESCR
libflame_openmp/Makefile
libflame_openmp/buildlink3.mk
libflame_openmp/distinfo
libflame_openmp/patches/patch-configure
libflame_openmp/patches/patch-configure__tidsp
Log Message:
Import libflame_openmp variant
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=79b67c47e899c8486a16f98f77986eaaafdb5abd
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libflame_openmp/DESCR | 9 +++++
libflame_openmp/Makefile | 5 +++
libflame_openmp/buildlink3.mk | 13 +++++++
libflame_openmp/distinfo | 7 ++++
libflame_openmp/patches/patch-configure | 52 ++++++++++++++++++++++++++
libflame_openmp/patches/patch-configure__tidsp | 42 +++++++++++++++++++++
6 files changed, 128 insertions(+)
diffs:
diff --git a/libflame_openmp/DESCR b/libflame_openmp/DESCR
new file mode 100644
index 0000000000..33425cc527
--- /dev/null
+++ b/libflame_openmp/DESCR
@@ -0,0 +1,9 @@
+libflame is a portable library for dense matrix computations, providing much
+of the functionality present in LAPACK, developed by current and former
+members of the Science of High-Performance Computing (SHPC) group in the
+Institute for Computational Engineering and Sciences at The University
+of Texas at Austin. libflame includes a compatibility layer, lapack2flame,
+which includes a complete LAPACK implementation.
+
+
+This variant builds libflame with openmp support.
diff --git a/libflame_openmp/Makefile b/libflame_openmp/Makefile
new file mode 100644
index 0000000000..600993e84b
--- /dev/null
+++ b/libflame_openmp/Makefile
@@ -0,0 +1,5 @@
+# $NetBSD$
+LIBFLAME_VARIANT=libflame_openmp
+.include "../../wip/libflame/Makefile.common"
+.include "../../wip/blis_openmp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libflame_openmp/buildlink3.mk b/libflame_openmp/buildlink3.mk
new file mode 100644
index 0000000000..82fb7f8df7
--- /dev/null
+++ b/libflame_openmp/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/05 16:31:45 bacon Exp $
+
+BUILDLINK_TREE+= libflame_openmp
+
+.if !defined(LIBFLAME_OPENMP_BUILDLINK3_MK)
+LIBFLAME_OPENMP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libflame_openmp+= libflame_openmp>=5.2.0
+BUILDLINK_PKGSRCDIR.libflame_openmp?= ../../wip/libflame_openmp
+.include "../../wip/blis_openmp/buildlink3.mk"
+.endif # LIBFLAME_OPENMP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libflame_openmp
diff --git a/libflame_openmp/distinfo b/libflame_openmp/distinfo
new file mode 100644
index 0000000000..c471d4aecd
--- /dev/null
+++ b/libflame_openmp/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (libflame-5.2.0-edbd6eba8a2269b0e05d64d8b02aff778fa4a07a.tar.gz) = 50e035a38df39f99b1aa9b0a83dd3dbe6998ba1a415d7ab3f79f4dd40b76b594
+SHA512 (libflame-5.2.0-edbd6eba8a2269b0e05d64d8b02aff778fa4a07a.tar.gz) = 7880c6c4aeb60709fd14a64506b5830c192ae43fc672a7d9b205634bbd392b2857ea1db4b3bd242a800f98d776d840e45cafbb254a13f673a6c65bbb8045067b
+Size (libflame-5.2.0-edbd6eba8a2269b0e05d64d8b02aff778fa4a07a.tar.gz) = 19256160 bytes
+SHA1 (patch-configure) = 60c396fadc5873b0a3b0437f255962a706166a32
+SHA1 (patch-configure__tidsp) = 5cffd9736605ec0d6cf02466da62531ab1f12c16
diff --git a/libflame_openmp/patches/patch-configure b/libflame_openmp/patches/patch-configure
new file mode 100644
index 0000000000..f62869017b
--- /dev/null
+++ b/libflame_openmp/patches/patch-configure
@@ -0,0 +1,52 @@
+$NetBSD$
+
+Address portability issues.
+
+--- configure.orig 2023-01-25 23:44:27.000000000 +0000
++++ configure
+@@ -6904,6 +6904,9 @@ printf %s "checking for (guessing) OpenM
+ icc)
+ fla_c_openmp_flags='-openmp'
+ ;;
++ cc)
++ fla_c_openmp_flags='-fopenmp'
++ ;;
+ gcc)
+ fla_c_openmp_flags='-fopenmp'
+ ;;
+@@ -7470,7 +7473,7 @@ printf "%s\n" "no" >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (guessing) appropriate ${CC_VENDOR} optimization flags" >&5
+ printf %s "checking for (guessing) appropriate ${CC_VENDOR} optimization flags... " >&6; }
+
+- if test "$fla_enable_compiler_optimizations" == "yes" ; then
++ if test "$fla_enable_compiler_optimizations" = "yes" ; then
+
+ case ${CC_VENDOR} in
+ gcc)
+@@ -7589,7 +7592,7 @@ printf "%s\n" "no" >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (guessing) appropriate ${CC_VENDOR} warning flags" >&5
+ printf %s "checking for (guessing) appropriate ${CC_VENDOR} warning flags... " >&6; }
+
+- if test "$fla_enable_compiler_warnings" == "yes" ; then
++ if test "$fla_enable_compiler_warnings" = "yes" ; then
+
+ case ${CC_VENDOR} in
+ gcc)
+@@ -7707,7 +7710,7 @@ printf "%s\n" "no" >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (guessing) appropriate ${CC_VENDOR} debug flags" >&5
+ printf %s "checking for (guessing) appropriate ${CC_VENDOR} debug flags... " >&6; }
+
+- if test "$fla_enable_compiler_debug" == "yes" ; then
++ if test "$fla_enable_compiler_debug" = "yes" ; then
+
+ case ${CC_VENDOR} in
+ gcc)
+@@ -7826,7 +7829,7 @@ printf "%s\n" "no" >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (guessing) appropriate ${CC_VENDOR} profiling flags" >&5
+ printf %s "checking for (guessing) appropriate ${CC_VENDOR} profiling flags... " >&6; }
+
+- if test "$fla_enable_compiler_profiling" == "yes" ; then
++ if test "$fla_enable_compiler_profiling" = "yes" ; then
+
+ case ${CC_VENDOR} in
+ gcc)
diff --git a/libflame_openmp/patches/patch-configure__tidsp b/libflame_openmp/patches/patch-configure__tidsp
new file mode 100644
index 0000000000..63b3df84d7
--- /dev/null
+++ b/libflame_openmp/patches/patch-configure__tidsp
@@ -0,0 +1,42 @@
+$NetBSD$
+
+Address portability issues.
+
+--- configure_tidsp.orig 2023-01-25 23:44:27.000000000 +0000
++++ configure_tidsp
+@@ -6919,7 +6919,7 @@ $as_echo "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (guessing) appropriate $CC optimization flags" >&5
+ $as_echo_n "checking for (guessing) appropriate $CC optimization flags... " >&6; }
+
+- if test "$fla_enable_compiler_optimizations" == "yes" ; then
++ if test "$fla_enable_compiler_optimizations" = "yes" ; then
+
+ case $CC in
+ gcc)
+@@ -7037,7 +7037,7 @@ $as_echo "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (guessing) appropriate $CC warning flags" >&5
+ $as_echo_n "checking for (guessing) appropriate $CC warning flags... " >&6; }
+
+- if test "$fla_enable_compiler_warnings" == "yes" ; then
++ if test "$fla_enable_compiler_warnings" = "yes" ; then
+
+ case $CC in
+ gcc)
+@@ -7154,7 +7154,7 @@ $as_echo "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (guessing) appropriate $CC debug flags" >&5
+ $as_echo_n "checking for (guessing) appropriate $CC debug flags... " >&6; }
+
+- if test "$fla_enable_compiler_debug" == "yes" ; then
++ if test "$fla_enable_compiler_debug" = "yes" ; then
+
+ case $CC in
+ gcc)
+@@ -7272,7 +7272,7 @@ $as_echo "no" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (guessing) appropriate $CC profiling flags" >&5
+ $as_echo_n "checking for (guessing) appropriate $CC profiling flags... " >&6; }
+
+- if test "$fla_enable_compiler_profiling" == "yes" ; then
++ if test "$fla_enable_compiler_profiling" = "yes" ; then
+
+ case $CC in
+ gcc)
Home |
Main Index |
Thread Index |
Old Index