Skip to content

Commit

Permalink
adios2: Update to 2.10.1
Browse files Browse the repository at this point in the history
Change PIC value to TRUE
As at https://github.com/ornladios/ADIOS2/tree/master/scripts/build_scripts

Explicitly pass CMAKE_**_COMPILER options

Remove unused options

```
CMake Warning:
2024-10-10T11:52:05.9700227Z   Manually-specified variables were not used by the project:
2024-10-10T11:52:05.9700853Z
2024-10-10T11:52:05.9701038Z     CMAKE_FC_COMPILER
2024-10-10T11:52:05.9701539Z     CMAKE_SKIP_INSTALL_RPATH
```

And do not use `-DCMAKE_SKIP_RPATH:BOOL=ON` since it leads to build
errors

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Oct 10, 2024
1 parent 095a8f3 commit 3cd32f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/io-libs/adios2/SPECS/adios2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Summary: The Adaptable IO System v2 (ADIOS2)
Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
Version: 2.8.3
Version: 2.10.1
Release: 1%{?dist}
License: Apache License 2.0
Group: %{PROJ_NAME}/io-libs
Expand Down Expand Up @@ -101,10 +101,10 @@ export MPICXX=mpicxx
cmake \
-DCMAKE_INSTALL_PREFIX=%{install_path} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=${MPICC} \
-DCMAKE_CXX_COMPILER=${MPICXX} \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \
-DADIOS2_USE_MPI=ON \
-DADIOS2_USE_HDF5=ON -DHDF5_ROOT="${HDF5_DIR}" \
-DADIOS2_USE_ZeroMQ=OFF \
Expand Down

0 comments on commit 3cd32f1

Please sign in to comment.