Accepting request 401949 from home:badshah400:branches:devel:libraries:c_c++
- Use system blas by passing the cmake option -DUSE_XSDK_DEFAULTS='TRUE'. - Disable building tests for now because they have linking issues. - Use cmake macros wherever appropriate. - A minimum of cmake >= 2.8.12 is required for building. OBS-URL: https://build.opensuse.org/request/show/401949 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/superlu?expand=0&rev=15
This commit is contained in:
parent
675acb5547
commit
12ce351003
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 14 12:56:22 UTC 2016 - badshah400@gmail.com
|
||||||
|
|
||||||
|
- Use system blas by passing the cmake option
|
||||||
|
-DUSE_XSDK_DEFAULTS='TRUE'.
|
||||||
|
- Disable building tests for now because they have linking issues.
|
||||||
|
- Use cmake macros wherever appropriate.
|
||||||
|
- A minimum of cmake >= 2.8.12 is required for building.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 29 16:30:52 UTC 2016 - foss@grueninger.de
|
Sun May 29 16:30:52 UTC 2016 - foss@grueninger.de
|
||||||
|
|
||||||
|
24
superlu.spec
24
superlu.spec
@ -39,8 +39,8 @@ Patch2: superlu-4.3-dont-opt-away.diff
|
|||||||
# this routine in the library which, however, remains fully functionnal
|
# this routine in the library which, however, remains fully functionnal
|
||||||
Patch3: superlu-5.2-remove-mc64ad.patch
|
Patch3: superlu-5.2-remove-mc64ad.patch
|
||||||
Url: http://crd.lbl.gov/~xiaoye/SuperLU/
|
Url: http://crd.lbl.gov/~xiaoye/SuperLU/
|
||||||
BuildRequires: blas
|
BuildRequires: blas-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake >= 2.8.12
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-fortran
|
BuildRequires: gcc-fortran
|
||||||
BuildRequires: tcsh
|
BuildRequires: tcsh
|
||||||
@ -81,25 +81,15 @@ developing applications that use %{name}.
|
|||||||
cp %SOURCE1 %SOURCE2 ./
|
cp %SOURCE1 %SOURCE2 ./
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
# FIXME: Drop the -Denable_tests=OFF flag when MATGEN linking issues are resolved
|
||||||
cd build
|
%cmake \
|
||||||
cmake \
|
-DCMAKE_BUILD_TYPE=Release -DUSE_XSDK_DEFAULTS='TRUE' -Denable_tests=OFF
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_C_FLAGS_RELEASE=\
|
|
||||||
"-O3 -fPIC -fschedule-insns2 \
|
|
||||||
-funroll-loops -fstrict-aliasing \
|
|
||||||
-ftree-vectorize -funit-at-a-time \
|
|
||||||
-frerun-loop-opt" \
|
|
||||||
..
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
%cmake_install
|
||||||
make DESTDIR=%{buildroot} install
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
#fix permissions
|
#fix permissions
|
||||||
chmod 644 MATLAB/*
|
chmod 644 MATLAB/*
|
||||||
|
Loading…
Reference in New Issue
Block a user