Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ for %%f in (CBLAS\testing\*.c) do (
mkdir build
cd build

:: Disable building INDEX64_EXT_API, as it includes ILP64 symbols within the LP64 library.
:: We cannot do that unless all the alternative providers do that as well, as otherwise
:: packages can start linking to these symbols.

cmake -G "Ninja" ^
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-DBUILD_SHARED_LIBS=yes ^
Expand All @@ -21,6 +25,7 @@ cmake -G "Ninja" ^
-DLAPACKE=ON ^
-DCBLAS=ON ^
-DBUILD_DEPRECATED=ON ^
-DBUILD_INDEX64_EXT_API=OFF ^
-Wno-dev ..

ninja -j%CPU_COUNT%
Expand Down
5 changes: 5 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export FFLAGS="$FFLAGS -fno-optimize-sibling-calls"

# CMAKE_INSTALL_LIBDIR="lib" suppresses CentOS default of lib64 (conda expects lib)

# Disable building INDEX64_EXT_API, as it includes ILP64 symbols within the LP64 library.
# We cannot do that unless all the alternative providers do that as well, as otherwise
# packages can start linking to these symbols.

cmake \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
-DCMAKE_INSTALL_LIBDIR="lib" \
Expand All @@ -34,6 +38,7 @@ cmake \
-DCBLAS=ON \
-DBUILD_DEPRECATED=ON \
-DTEST_FORTRAN_COMPILER=OFF \
-DBUILD_INDEX64_EXT_API=OFF \
${CMAKE_ARGS} ..

make install -j${CPU_COUNT} VERBOSE=1
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set version = "3.12.1" %}
# if build_num is reset to 0 (for new version), update increment for blas_minor below
{% set build_num = 1 %}
{% set build_num = 2 %}
{% set version_major = version.split(".")[0] %}
{% set version_minor = version.split(".")[1] %}
# blas_major denotes major infrastructural change to how blas is managed
Expand Down