diff --git a/.ci_support/linux_64_blas_implblisblas_impl_liblibblis.so.4.yaml b/.ci_support/linux_64_blas_implblisblas_impl_liblibblis.so.4.yaml index e59601be..e1ef8ab3 100644 --- a/.ci_support/linux_64_blas_implblisblas_impl_liblibblis.so.4.yaml +++ b/.ci_support/linux_64_blas_implblisblas_impl_liblibblis.so.4.yaml @@ -7,7 +7,7 @@ blas_impl_lib: c_compiler: - gcc c_compiler_version: -- '12' +- '10' cdt_name: - cos6 channel_sources: @@ -19,7 +19,7 @@ docker_image: fortran_compiler: - gfortran fortran_compiler_version: -- '12' +- '10' target_platform: - linux-64 zip_keys: diff --git a/.ci_support/linux_64_blas_implmklblas_impl_liblibmkl_rt.so.yaml b/.ci_support/linux_64_blas_implmklblas_impl_liblibmkl_rt.so.yaml index fc5cada1..492c943a 100644 --- a/.ci_support/linux_64_blas_implmklblas_impl_liblibmkl_rt.so.yaml +++ b/.ci_support/linux_64_blas_implmklblas_impl_liblibmkl_rt.so.yaml @@ -7,7 +7,7 @@ blas_impl_lib: c_compiler: - gcc c_compiler_version: -- '12' +- '10' cdt_name: - cos6 channel_sources: @@ -19,7 +19,7 @@ docker_image: fortran_compiler: - gfortran fortran_compiler_version: -- '12' +- '10' target_platform: - linux-64 zip_keys: diff --git a/.ci_support/linux_64_blas_implopenblasblas_impl_liblibopenblas.so.0.yaml b/.ci_support/linux_64_blas_implopenblasblas_impl_liblibopenblas.so.0.yaml index a64a4d7c..a2d9d69d 100644 --- a/.ci_support/linux_64_blas_implopenblasblas_impl_liblibopenblas.so.0.yaml +++ b/.ci_support/linux_64_blas_implopenblasblas_impl_liblibopenblas.so.0.yaml @@ -7,7 +7,7 @@ blas_impl_lib: c_compiler: - gcc c_compiler_version: -- '12' +- '10' cdt_name: - cos6 channel_sources: @@ -19,7 +19,7 @@ docker_image: fortran_compiler: - gfortran fortran_compiler_version: -- '12' +- '10' target_platform: - linux-64 zip_keys: diff --git a/.ci_support/linux_aarch64_.yaml b/.ci_support/linux_aarch64_.yaml index 61dd73b0..b9b697fa 100644 --- a/.ci_support/linux_aarch64_.yaml +++ b/.ci_support/linux_aarch64_.yaml @@ -9,7 +9,7 @@ blas_impl_lib: c_compiler: - gcc c_compiler_version: -- '12' +- '10' cdt_arch: - aarch64 cdt_name: @@ -23,7 +23,7 @@ docker_image: fortran_compiler: - gfortran fortran_compiler_version: -- '12' +- '10' target_platform: - linux-aarch64 zip_keys: diff --git a/.ci_support/linux_ppc64le_.yaml b/.ci_support/linux_ppc64le_.yaml index b41054f1..bcd2ff88 100644 --- a/.ci_support/linux_ppc64le_.yaml +++ b/.ci_support/linux_ppc64le_.yaml @@ -7,7 +7,7 @@ blas_impl_lib: c_compiler: - gcc c_compiler_version: -- '12' +- '10' cdt_name: - cos7 channel_sources: @@ -19,7 +19,7 @@ docker_image: fortran_compiler: - gfortran fortran_compiler_version: -- '12' +- '10' target_platform: - linux-ppc64le zip_keys: diff --git a/recipe/meta.yaml b/recipe/meta.yaml index de5e7be2..5da399c2 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,6 +1,6 @@ {% set version = "3.9.0" %} # if build_num is reset to 0 (for new version), update increment for blas_minor below -{% set build_num = 17 %} +{% set build_num = 16 %} {% set version_major = version.split(".")[0] %} # blas_major denotes major infrastructural change to how blas is managed {% set blas_major = "2" %} @@ -29,6 +29,8 @@ source: build: number: "{{ build_num }}" + # debug + skip: true # [not (linux64 and (blas_impl == "mkl"))] requirements: build: @@ -40,6 +42,11 @@ requirements: - m2-make # [win] - make # [not win] - posix # [win] + - libgfortran5 <12.2 # [linux64] + - libstdcxx-ng <12.2 # [linux64] + host: + - libgfortran5 <12.2 # [linux64] + - libstdcxx-ng <12.2 # [linux64] # The following are actual build dependencies of this recipe; however, they # only get installed by the build scripts, since they must be installed in a # different environment (otherwise there'd be a variant collision)! The build @@ -231,10 +238,15 @@ outputs: - {{ compiler('fortran') }} # [unix] - {{ compiler('m2w64_c') }} # [win] - {{ compiler('m2w64_fortran') }} # [win] - - cmake + - cmake <3.24.1 - m2-make # [win] - posix # [win] - llvm-openmp # [linux and ((blas_impl == "openblas") or (blas_impl == "mkl"))] + - llvm-openmp <14.0.5 # [linux64 and ((blas_impl == "openblas") or (blas_impl == "mkl"))] + - libgfortran5 <12.2 # [linux64] + - libstdcxx-ng <12.2 # [linux64] + - c-ares <1.19 # [linux64] + - expat <2.5 # [linux64] host: # Building with blis fails due to a conda-build bug {% if blas_impl != 'blis' %} @@ -245,6 +257,10 @@ outputs: {% else %} - blis 0.9.0 {% endif %} + - llvm-openmp <14.0.5 # [linux64 and blas_impl == "mkl"] + - tbb =2021.5.0=*_1 # [linux64] + - libgfortran5 =12.1.0=*_16 # [linux64] + - libstdcxx-ng =12.1.0=*_16 # [linux64] run: - {{ pin_subpackage("liblapack", exact=True) }} # [blas_impl != 'blis'] - {{ pin_subpackage("liblapacke", exact=True) }} # [blas_impl != 'blis'] diff --git a/recipe/test_blas.sh b/recipe/test_blas.sh index a0cc769a..40dab6bd 100644 --- a/recipe/test_blas.sh +++ b/recipe/test_blas.sh @@ -39,6 +39,8 @@ if [[ "${blas_impl}" == "mkl" ]]; then if [[ "$target_platform" == "linux-64" ]]; then # TODO: figure out these segfaults SKIP_TESTS="${SKIP_TESTS}|example_DGELS_rowmajor|example_DGELS_colmajor" + # DEBUG: skip extremely long-running tests (when failing) + SKIP_TESTS="${SKIP_TESTS}|xeigtstz_sep_in|xeigtstz_se2_in" elif [[ "$target_platform" == "osx-64" || "$target_platform" == "win-64" ]]; then # "shared" failures on osx-64, win-64 SKIP_TESTS="${SKIP_TESTS}|BLAS-xblat1c|LAPACK-xeigtstc_ced_in|LAPACK-xeigtstc_csb_in|LAPACK-xeigtstc_csg_in" @@ -63,8 +65,11 @@ if [[ "${blas_impl}" == "openblas" && "$(uname)" == MINGW* ]]; then SKIP_TESTS="${SKIP_TESTS}|LAPACK-xeigtstz_glm_in|LAPACK-xeigtstz_gsv_in|LAPACK-xeigtstz_lse_in|BLAS-xblat1c" fi +# dummy +ls -R $PREFIX/lib + if [[ "$target_platform" == "win-64" ]]; then - ${BUILD_PREFIX}/Library/bin/ctest --output-on-failure -E "${SKIP_TESTS}" + ${BUILD_PREFIX}/Library/bin/ctest --output-on-failure --timeout=10 -E "${SKIP_TESTS}" else - ctest --output-on-failure -E "${SKIP_TESTS}" + ctest --output-on-failure --timeout=10 -E "${SKIP_TESTS}" fi