-
Notifications
You must be signed in to change notification settings - Fork 0
update to 4.0.0 release #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
6b28adf
fbc5681
24ecda7
3edbdbc
e4346a4
ef4c220
4864ccd
ecea31d
062d5c4
af3ed38
1d60a7d
30c6c52
f475c5d
199a099
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,18 +7,19 @@ | |
| %global shortcommit %(c=%{commit};echo ${c:0:7}) | ||
|
|
||
| Name: ior | ||
| Version: 3.3.0 | ||
| Release: 20%{?commit:.g%{shortcommit}}%{?dist} | ||
| Version: 4.0.0 | ||
| Release: 1%{?commit:.g%{shortcommit}}%{?dist} | ||
|
|
||
| Summary: IOR-HPC | ||
|
|
||
| License: GPL | ||
| License: GPL-2.0-only | ||
| URL: https://github.com/hpc/%{name}/ | ||
| Source0: https://github.com/hpc/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz | ||
| %if "%{?commit}" != "" | ||
| Patch1: %{version}..%{commit}.patch | ||
| %endif | ||
| Patch3: daos-configure.patch | ||
| # patch configure.ac | ||
| Patch3: https://github.com/hpc/ior/commit/38064419cbe959cb538695e51b2bc2a91d6971f7.patch | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could also just update to 4.0.0 + patch tip of main. Which is what the spec does currently. I.e.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could, at the risk of introducing post-4.0.0 landings that could be troublesome. I think what we are doing here is better and more idiomatic of software packaging. |
||
|
|
||
| BuildRequires: mpich-devel | ||
| BuildRequires: hwloc-devel | ||
|
|
@@ -27,7 +28,6 @@ BuildRequires: unzip | |
| BuildRequires: autoconf, automake | ||
| BuildRequires: daos-devel | ||
| BuildRequires: hdf5-mpich-devel%{?_isa} | ||
| BuildRequires: mercury-devel | ||
| BuildRequires: chrpath | ||
| %if (0%{?suse_version} >= 1500) | ||
| BuildRequires: lua-lmod | ||
|
|
@@ -50,18 +50,18 @@ IOR-HPC | |
|
|
||
| %prep | ||
| %autosetup -p1 | ||
| %if "%{?commit}" != "" | ||
| # we most likely patched configure.ac | ||
| # we patched configure.ac | ||
| autoreconf | ||
| %endif | ||
|
|
||
| %build | ||
| export CC=mpicc | ||
| export CXX=mpicxx | ||
| export FC=mpif90 | ||
| export F77=mpif77 | ||
| export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIC" | ||
| export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIC" | ||
| %if (0%{?suse_version} >= 1500) | ||
| export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIC -fPIE" | ||
| export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fPIC -fPIE" | ||
daltonbohning marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| %endif | ||
| if [ ! -f configure ]; then | ||
| # probably a git tarball | ||
| ./bootstrap | ||
|
|
@@ -73,11 +73,11 @@ fi | |
| %else | ||
| %configure --with-mpiio --with-daos=/usr --with-hdf5 --bindir=$MPI_BIN --mandir=$MPI_MAN --libdir=$MPI_LIB --includedir=$MPI_INCLUDE --datadir=%{_datadir}/doc/ior-mpich | ||
| %endif | ||
| %make_build | ||
| %make_build V=1 | ||
|
|
||
| %install | ||
| %module_load mpich | ||
| %make_install | ||
| %make_install V=1 | ||
|
|
||
| %if 0%{?suse_version} | ||
| MPI_LIB=%{_libdir} | ||
|
|
@@ -96,17 +96,23 @@ $MPI_MAN/man1/* | |
| EOF | ||
| %endif | ||
|
|
||
|
|
||
| %if (0%{?suse_version} >= 1) | ||
| %files | ||
| %{_bindir}/* | ||
| %{_defaultdocdir}/%{name}/ | ||
| %{_mandir}/man1/* | ||
| %else | ||
| %find_lang mdtest --with-man | ||
| %files -f files.mpich | ||
| %files -f mdtest.lang | ||
daltonbohning marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| %endif | ||
|
|
||
| %changelog | ||
| * Fri Jan 31 2025 Dalton A. Bohning <dalton.bohning@hpe.com> - 4.0.0-1 | ||
| - Update to 4.0.0 release | ||
| - Remove BR: mercury-devel | ||
| - Use upstream configure.ac patch instead of local | ||
|
|
||
| * Tue Jul 04 2023 Brian J. Murrell <brian.murrell@intel.com> - 3.3.0-20 | ||
| - Add BR: mercury-devel | ||
| - Remove static library | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To resolve invalid-license lint