Commit Graph
20 Commits
Author SHA1 Message Date
Martin Köhler a077ce6f53 Fix warnings in CBLAS testing and examples 2025-04-23 23:27:09 +02:00
Simon Maertens 50a943dad9 Fixed external 64bit api CBLAS example. CBLAS_API64 needs to be defined before including cblas_64.h 2024-06-19 18:54:32 +01:00
Maria Kraynyuk ce3f662e12 Add Index-64 API as extended API with _64 suffix for CBLAS 2023-06-22 16:15:41 -07:00
langou 88aa204975 Revert "Add Index-64 API as extended API with _64 suffix for CBLAS" 2023-06-21 02:33:49 -06:00
Maria Kraynyuk 4c2236a536 Add Index-64 API as extended API with _64 suffix for CBLAS 2023-06-06 10:56:33 -07:00
Simon Maertens 86d37075ed Fixed CBLAS integer formats for 64bit build. 2022-08-08 16:41:04 +02:00
weslley.spereira 29c946d743 First attempt in getting (back) CBLAS_INDEX and CBLAS_INT integer types 2021-06-23 18:50:47 -03:00
Aisha Tammy 5dd47be672 create INDEX64 target 2020-11-03 17:14:48 +00:00
Kyle Guinn dd2f632f2e Add PHONY targets 2019-07-27 23:07:37 -05:00
Kyle Guinn be23965929 Handle relative paths consistently
Place built libraries in $(TOPSRCDIR) and refer to their location by
using $(TOPSRCDIR).
2019-07-27 18:48:52 -05:00
Kyle Guinn 33258cb4b2 Switch to POSIX make variable names
Allows us to use the built-in suffix rules where appropriate.

  FORTRAN   -> FC            (POSIX)
  OPTS      -> FFLAGS        (POSIX)
  DRVOPTS   -> FFLAGS_DRV
  NOOPT     -> FFLAGS_NOOPT

  LOADER    -> FC            (use the compiler driver for linking)
  LOADOPTS  -> LDFLAGS       (POSIX)

  ARCH      -> AR            (POSIX)
  ARCHFLAGS -> ARFLAGS       (POSIX)
2019-07-27 18:48:52 -05:00
luzpaz 3fac41ca28 Fix misc. typos
Mostly trivial source code comments.
2017-12-01 06:55:48 -05:00
Kyle Guinn 8fce0e24bd Simplify the clean targets
cleanobj:  Remove object files
cleanlib:  Remove libraries
cleanexe:  Remove test and example executables
cleantest: Remove test output and core dumps
clean:     All of the above
2017-02-06 01:07:10 -06:00
Kyle Guinn a203318e67 Add libraries as prerequisites
Use the automatic variable $^ to refer to all prerequisites when
linking or creating an archive.
2017-02-04 22:47:19 -06:00
Kyle Guinn 0ebb712165 Fix overlinking CBLAS dependencies 2017-02-02 00:28:38 -06:00
Kyle Guinn 3442a58f55 Avoid rebuilding CBLAS library and examples
Use targets that are actual filenames so that make can determine if the
target is already up-to-date.

Since $(CBLASLIB) is a relative path, delete it from a Makefile at the
right depth.
2017-01-22 19:39:13 -06:00
Julie 3f23bd5d53 merging: Various cleanups to makefiles #84
Contribution by @turboencabulator
Closing #84
2016-11-25 17:03:13 -08:00
Hans Johnson 9c7f84bd60 STYLE: Remove trailing whitespace in MISC files
This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================
2016-07-09 11:19:33 -05:00
Hans Johnson 78d32fd2a6 STYLE: Remove trailing whitespace in C files
This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================
2016-07-09 10:53:07 -05:00
julie 8d160e5f96 Fixing folder uppercase / lower case issue - Thank you Don 2014-10-08 18:40:57 +00:00