mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-21 06:25:15 -04:00
RPM-build: Temporarily disable SMM backend until LibXS is provided in Fedora repo (#5373)
This commit is contained in:
parent
7b1171f5d6
commit
cb2e80cfb6
1 changed files with 9 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# libxsmm is designed for x86_64 architectures only, see project's README
|
||||
%bcond libxsmm %[ "%{_arch}" == "x86_64" ]
|
||||
# %bcond libxs %[ "%{_arch}" == "x86_64" ]
|
||||
|
||||
# Disable LTO due to https://bugzilla.redhat.com/show_bug.cgi?id=2243158
|
||||
%global _lto_cflags %nil
|
||||
|
|
@ -29,9 +29,9 @@ BuildRequires: flexiblas-devel
|
|||
BuildRequires: cmake(DBCSR)
|
||||
BuildRequires: cmake(libint2)
|
||||
BuildRequires: pkgconfig(fftw3)
|
||||
%if %{with libxsmm}
|
||||
BuildRequires: pkgconfig(libxsmm)
|
||||
%endif
|
||||
# %if %{with libxs}
|
||||
# BuildRequires: pkgconfig(libxsmm)
|
||||
# %endif
|
||||
# cmake(Libxc) technically fails
|
||||
# https://github.com/cp2k/cp2k/issues/3767
|
||||
BuildRequires: libxc-devel
|
||||
|
|
@ -143,11 +143,11 @@ cmake_common_args=(
|
|||
"-DCP2K_USE_LIBINT2:BOOL=ON"
|
||||
"-DCP2K_USE_LIBXC:BOOL=ON"
|
||||
"-DCP2K_USE_SPGLIB:BOOL=ON"
|
||||
%if %{with libxsmm}
|
||||
"-DCP2K_USE_LIBXSMM:BOOL=ON"
|
||||
%else
|
||||
"-DCP2K_USE_LIBXSMM:BOOL=OFF"
|
||||
%endif
|
||||
# %if %{with libxs}
|
||||
# "-DCP2K_USE_LIBXS:BOOL=ON"
|
||||
# %else
|
||||
"-DCP2K_USE_LIBXS:BOOL=OFF"
|
||||
# %endif
|
||||
)
|
||||
for mpi in '' mpich openmpi; do
|
||||
if [ -n "$mpi" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue