Skip to content

Commit

Permalink
Revert "OpenBLAS: Enable Fortran with flang"
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Oct 7, 2023
1 parent 4d893c4 commit a84ba97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mingw-w64-openblas/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pkgbase=mingw-w64-openblas
pkgname=("${MINGW_PACKAGE_PREFIX}-openblas"
$([[ "${CARCH}" == "i686" ]] || echo "${MINGW_PACKAGE_PREFIX}-openblas64"))
pkgver=0.3.24
pkgrel=2
pkgrel=1
pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD, providing optimized blas, lapack, and cblas (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
Expand All @@ -23,7 +23,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
$([[ ${MSYSTEM} == CLANG32 ]] || echo "${MINGW_PACKAGE_PREFIX}-fc")
$([[ ${MINGW_PACKAGE_PREFIX} == *-clang-* ]] || echo "${MINGW_PACKAGE_PREFIX}-fc")
"dos2unix")
options=('!buildflags')
source=(https://github.com/xianyi/OpenBLAS/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz
Expand Down Expand Up @@ -63,7 +63,7 @@ _build_openblas() {
_extra_config+=("-DCMAKE_BUILD_TYPE=Debug")
fi

if [[ ${MSYSTEM} == CLANG32 ]]; then
if [[ ${MINGW_PACKAGE_PREFIX} == *-clang-* ]]; then
_extra_config+=("-DC_LAPACK=ON")
fi

Expand Down

0 comments on commit a84ba97

Please sign in to comment.