Accepting request 288000 from science
1 OBS-URL: https://build.opensuse.org/request/show/288000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=15
This commit is contained in:
commit
9564edf8f8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 12:30:11 UTC 2015 - dkxls23@gmail.com
|
||||
|
||||
- Add MPI support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 01:52:56 UTC 2014 - badshah400@gmail.com
|
||||
|
||||
|
8
vtk.spec
8
vtk.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package vtk
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -61,6 +61,7 @@ BuildRequires: libpng-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libtheora-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: openmpi-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-qt4-devel
|
||||
BuildRequires: tcl-devel
|
||||
@ -101,6 +102,7 @@ Requires: libpng-devel
|
||||
Requires: libqt4-devel
|
||||
Requires: libtheora-devel
|
||||
Requires: libtiff-devel
|
||||
Requires: openmpi-devel
|
||||
Requires: python-%{name} = %{version}
|
||||
Requires: python-%{name}-qt = %{version}
|
||||
|
||||
@ -241,6 +243,8 @@ export CXXFLAGS="%{optflags}"
|
||||
mkdir build
|
||||
pushd build
|
||||
cmake .. \
|
||||
-DCMAKE_CXX_COMPILER:STRING='mpicxx' \
|
||||
-DCMAKE_C_COMPILER:STRING='mpicc' \
|
||||
-DBUILD_DOCUMENTATION:BOOL=ON \
|
||||
-DBUILD_EXAMPLES:BOOL=ON \
|
||||
-DBUILD_SHARED_LIBS:BOOL=ON \
|
||||
@ -265,6 +269,7 @@ cmake .. \
|
||||
-DVTK_WRAP_JAVA:BOOL=ON \
|
||||
-DVTK_WRAP_PYTHON_SIP:BOOL=ON \
|
||||
-DVTK_WRAP_TCL:BOOL=ON \
|
||||
-DVTK_Group_MPI:BOOL=ON \
|
||||
-DVTK_Group_Imaging:BOOL=ON \
|
||||
-DVTK_Group_Qt:BOOL=ON \
|
||||
-DModule_vtkTestingCore:BOOL=ON \
|
||||
@ -399,6 +404,7 @@ chrpath -d %{buildroot}%{_bindir}/*
|
||||
%files -n python-%{name}
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/%{name}python
|
||||
%{_bindir}/p%{name}python
|
||||
%{_bindir}/%{name}WrapPython
|
||||
%{_bindir}/%{name}WrapPythonInit
|
||||
%{_libdir}/%{name}/*Python*.so.*
|
||||
|
Loading…
Reference in New Issue
Block a user