Accepting request 644956 from home:eeich:factory_staging
- Add %%hpc_cmake which wraps %%cmake from marcos.cmake. OBS-URL: https://build.opensuse.org/request/show/644956 OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=32
This commit is contained in:
parent
f0ae774032
commit
275aca224a
16
macros.hpc
16
macros.hpc
@ -634,3 +634,19 @@ sys.exit(0)" %{1}
|
||||
done; \
|
||||
done
|
||||
|
||||
# wraps macro from macros.cmake - paths replaced by HPC paths.
|
||||
%hpc_cmake \
|
||||
%{!?cmake:%{error: please include macros.cmake}} \
|
||||
%{?cmake: \
|
||||
%global __cmake %{_bindir}/cmake \
|
||||
%define _prefix %{hpc_prefix} \
|
||||
%define _includedir %{hpc_includedir} \
|
||||
%define _libdir %{hpc_libdir} \
|
||||
%define _datadir %{hpc_datadir} \
|
||||
%cmake \\\
|
||||
%undefine __cmake \\\
|
||||
%undefine _prefix \\\
|
||||
%undefine _includedir \\\
|
||||
%undefine _libdir \\\
|
||||
%undefine _datadir \\\
|
||||
}
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 10:49:00 UTC 2018 - eich@suse.com
|
||||
|
||||
- Add %%hpc_cmake which wraps %%cmake from marcos.cmake.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 25 10:51:17 UTC 2018 - eich@suse.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user