Package openblas: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | %def_without lapack %ifnarch %e2k %def_enable dynamic_arch %endif Name: openblas Version: 0.3.9 Release: alt2 Summary: Optimized BLAS library based on GotoBLAS2 1.13 License: BSD Group: Sciences/Mathematics Url: https://github.com/xianyi/OpenBLAS # http://github.com/xianyi/OpenBLAS Source: %name-%version.tar Patch2000: %name-e2k.patch BuildRequires: gcc-fortran %ifarch ppc64le BuildRequires: libgomp-devel %endif %description GotoBLAS2 has been released by the Texas Advanced Computing Center as open source software under the BSD license. This product is no longer under active development by TACC, but it is being made available to the community to use, study, and extend. GotoBLAS2 uses new algorithms and memory techniques for optimal performance of the BLAS routines. The changes in this final version target new architecture features in microprocessors and interprocessor communication techniques; also, NUMA controls enhance multi-threaded execution of BLAS routines on node. OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenBLAS is an open source project supported by Lab of Parallel Software and Computational Science, ISCAS. %package -n lib%name Summary: Shared library of GotoBLAS2 Group: System/Libraries %description -n lib%name GotoBLAS2 has been released by the Texas Advanced Computing Center as open source software under the BSD license. This product is no longer under active development by TACC, but it is being made available to the community to use, study, and extend. GotoBLAS2 uses new algorithms and memory techniques for optimal performance of the BLAS routines. The changes in this final version target new architecture features in microprocessors and interprocessor communication techniques; also, NUMA controls enhance multi-threaded execution of BLAS routines on node. OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenBLAS is an open source project supported by Lab of Parallel Software and Computational Science, ISCAS. This package contains shared library of OpenBLAS. %package -n lib%name-devel Summary: Development files of GotoBLAS2 Group: Development/Other Requires: lib%name = %version-%release %description -n lib%name-devel GotoBLAS2 has been released by the Texas Advanced Computing Center as open source software under the BSD license. This product is no longer under active development by TACC, but it is being made available to the community to use, study, and extend. GotoBLAS2 uses new algorithms and memory techniques for optimal performance of the BLAS routines. The changes in this final version target new architecture features in microprocessors and interprocessor communication techniques; also, NUMA controls enhance multi-threaded execution of BLAS routines on node. OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenBLAS is an open source project supported by Lab of Parallel Software and Computational Science, ISCAS. This package contains development files of OpenBLAS. %prep %setup %ifarch %e2k %patch2000 -p1 %endif %build FLAGS="%optflags %optflags_shared" # FC/CC - path to compiler # F_COMPILER/C_COMPILER - compiler type (GCC, CLANG, GFORTRAN, etc.) # COMMON_OPT - compiler options FC="gfortran" F77="g77" CC="gcc" \ F_COMPILER="GFORTRAN" C_COMPILER="GCC" \ %make_build SMP=1 \ %if "%_lib" == "lib64" BINARY=64 \ %else BINARY=32 \ %endif %ifarch armh TARGET=ARMV7 \ %endif %ifarch aarch64 TARGET=ARMV8 \ %endif COMMON_OPT="$FLAGS" \ %{?_enable_dynamic_arch:DYNAMIC_ARCH=1} \ ALLOC_HUGETLB=1 \ %{?_without_lapack:NO_LAPACK=1} \ %{nil} %install %make_install OPENBLAS_LIBRARY_DIR=%buildroot%_libdir \ OPENBLAS_INCLUDE_DIR=%buildroot%_includedir/openblas \ install sed -i 's,%buildroot,,' %buildroot%_pkgconfigdir/openblas.pc %check make tests \ %{?_enable_dynamic_arch:DYNAMIC_ARCH=1} \ %{?_without_lapack:NO_LAPACK=1} \ %{nil} %files -n lib%name %doc README* *.txt %_libdir/*-r*.so %_libdir/*.so.* %files -n lib%name-devel %exclude %_libdir/*-r*.so %_libdir/*.so %_pkgconfigdir/openblas.pc %_includedir/openblas %changelog * Sat Jun 05 2021 Ilya Kurdyukov <ilyakurdyukov@altlinux.org> 0.3.9-alt2 - fixed passing of compiler options, added check - added patch with e2k architecture support (no optimizations) * Sat Apr 25 2020 Kirill Maslinsky <kirill@altlinux.org> 0.3.9-alt1 - Version 0.3.9 * Wed May 15 2019 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.2.20-alt2 - Added BR: libgomp-devel on ppc64le architecture. * Tue May 22 2018 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.2.20-alt1 - 0.2.20 released * Mon Jun 01 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.14-alt1.git20150324 - Version 0.2.14 * Mon Jul 07 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.9-alt2.git20140629 - Version 0.2.9 * Mon Jun 09 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.9-alt1.rc2.git20140306 - Version 0.2.9.rc2 * Fri Nov 15 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.8-alt1.git20130801 - Version 0.2.8 * Tue Apr 30 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.6-alt2.git20130302 - Fixed cblas.h * Sun Apr 28 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.6-alt1.git20130302 - Version 0.2.6 * Thu Feb 07 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.5-alt1.git20121215 - New snaphsot * Tue Nov 27 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.5-alt1.git20121127 - Version 0.2.5 * Sat Aug 11 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2.2-alt1 - Initial build for Sisyphus |