SHA256
1
0
forked from pool/suse-hpc
Commit Graph

23 Commits

Author SHA256 Message Date
bebf0d440c Accepting request 1120761 from home:eeich:branches:science:HPC
- Previous fix did not work, revert and use %global instead of
  %define.
  The %hpc_cmake and %hpc_ninja macros wrap the %cmake and %ninja macros.
  The wrapper needs to set all standard variables passed to cmake in these
  macros to the hpc values.
  With the mentioned macros this leads to an infinite recursion if using
  %define. So we use %global instead.

OBS-URL: https://build.opensuse.org/request/show/1120761
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=66
2023-10-27 09:06:29 +00:00
2144f3da24 Accepting request 1119953 from home:eeich:branches:science:HPC
- Handle %hpc_localstatedir and %hpc_sharedstatedir only when
  changed from %_localstatedir and %_sharedstatedir to avoid
  infinite recursion.

OBS-URL: https://build.opensuse.org/request/show/1119953
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=64
2023-10-24 11:08:55 +00:00
a0992ec977 Accepting request 1083905 from home:eeich:branches:science:HPC
- Do not redefine _localstatedir and _sharedstatedir for cmake:
  hpc_localstatedir and hpc_sharedstatedir are already the
  same. This may lead to a endless recursive definition loop.
- Create header magic for module file if none is specified in
  spec file.

OBS-URL: https://build.opensuse.org/request/show/1083905
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=62
2023-05-04 14:44:43 +00:00
fe1f07ebd3 Accepting request 979120 from home:eeich:branches:science:HPC
- Add %hpc_base_dirs macro
  In contrast to %hpc_dirs which also includes the library directory
  this only provides the HPC base directories.

OBS-URL: https://build.opensuse.org/request/show/979120
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=60
2022-05-26 19:14:40 +00:00
81871d8888 Accepting request 952120 from home:eeich:branches:science:HPC
- Add %hpc_python_sitelib and %hpc_python_sitelib_no_singlespec
  to get arch independent module directories for modules.

OBS-URL: https://build.opensuse.org/request/show/952120
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=59
2022-02-07 12:58:47 +00:00
dca37a71b5 Accepting request 944071 from home:bnavigator:branches:science:HPC
python310 has been enabled today.

- Update to version 0.5.20211210.07cc46c
  * support python 3.10 version string (#8)
- Update _service to save git date and hash to version

OBS-URL: https://build.opensuse.org/request/show/944071
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=58
2022-01-05 18:15:31 +00:00
9008aef988 Accepting request 864148 from home:eeich:branches:science:HPC
- Expand python_flavor to python executable. Thanks to Ben Greiner.

OBS-URL: https://build.opensuse.org/request/show/864148
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=52
2021-01-18 21:03:22 +00:00
37307aed0b Accepting request 798280 from home:eeich:branches:science:HPC
- Add 'Obsolete:' option to master package. This way, a removed
  master package may be declared obsolte. 
- Allow 'Empty' package - without a 'Requires:' to keep master
  package for backward compatibility.

OBS-URL: https://build.opensuse.org/request/show/798280
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=46
2020-04-27 13:41:38 +00:00
3a4b960ea7 Accepting request 672258 from home:eeich:branches:science:HPC
- macros.hpc: Fix default moduleversion link generation and deletion  
  * Generation: convert to a posttrans script to make sure the link
    target exists.
  * Deletion: Fix paths and line endings.
  (bsc#1124509)
- macros.hpc: Improve documentation for -L option in %%hpc_master macro.

OBS-URL: https://build.opensuse.org/request/show/672258
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=43
2019-02-06 17:56:26 +00:00
e94e68033a - Remove redefinition of _sysconfdir in %%hpc_cmake:
Redefining _sysconfdir to %%hpc_sysconfdir caused a recursive loop!

OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=41
2019-01-07 15:47:33 +00:00
Dirk Stoecker
60c559d8d9 Accepting request 659779 from home:TheBlackCat:branches:science:HPC
- Add hpc_docdir macro.
- Add cmake directories macros.
- Use upstream-recommended %{_rpmconfigdir}/macros.d directory
  for rpm macros.
- Add meson macro.
- Future-proof cmake macro.

OBS-URL: https://build.opensuse.org/request/show/659779
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=39
2018-12-19 08:20:49 +00:00
c9d411738c Accepting request 650047 from home:eeich:branches:science:machinelearning
- Expand modules handling (bsc#1116458):
  * add %%hpc_modules_init to store the list of modules
  * if a modules list is available, use environment during
    dependency generation to exclude objects which will be
    found thru environment modules.
  * bump package version.

OBS-URL: https://build.opensuse.org/request/show/650047
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=35
2018-11-18 21:36:28 +00:00
78f0744332 Accepting request 644958 from home:eeich:factory_staging
- Bump version

OBS-URL: https://build.opensuse.org/request/show/644958
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=33
2018-10-26 20:23:12 +00:00
45b671e6c4 Accepting request 617652 from home:eeich:branches:science:HPC
- Improve test to be more general.

OBS-URL: https://build.opensuse.org/request/show/617652
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=27
2018-06-19 07:07:13 +00:00
062bf1e349 Accepting request 617646 from home:eeich:branches:science:HPC
- Handle license file using %license where applicable.

OBS-URL: https://build.opensuse.org/request/show/617646
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=26
2018-06-19 06:11:03 +00:00
8c3e75f434 - Improve description and README in master packages
Explain the purpose of the package and explicitly specify the dependency
  in the package description and generated README.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=25
2018-06-18 04:56:54 +00:00
872b283917 - Fix master package summary and description
-  Add support for different name than %name

OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=24
2018-06-16 19:49:12 +00:00
f01f3d4f3b - For tool don't distinguish minor versions:
%hpc_cf_dep_version represents what we distinguish
  which determines the granularity in compiler selection.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=16
2018-01-30 10:09:11 +00:00
Nicolas Morey-Chaisemartin
98b72f4515 Accepting request 532126 from science:HPC:EnvMod
- Add _service to fetch github files

OBS-URL: https://build.opensuse.org/request/show/532126
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=9
2017-10-06 08:32:55 +00:00
Nicolas Morey-Chaisemartin
abaff21b7d Accepting request 532078 from science:HPC:EnvMod
- Make source files downloadable from git.

OBS-URL: https://build.opensuse.org/request/show/532078
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=8
2017-10-06 06:47:30 +00:00
Nicolas Morey-Chaisemartin
a334d90eb9 - Add %{?hpc_ext} to install path to allow multiple flavor installs
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=5
2017-09-27 07:33:00 +00:00
fe7e841696 Accepting request 525945 from home:eeich:hpc_alt
- Add a dependency generator wrapper for binaries and libraries
  to avoid adding standard dependencies for HPC libraries.

- Removed unneeded BuildRequires:

OBS-URL: https://build.opensuse.org/request/show/525945
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=3
2017-09-13 22:51:52 +00:00
Nicolas Morey-Chaisemartin
bbf69083e1 Accepting request 523742 from science:HPC:EnvMod
- Initial version.

OBS-URL: https://build.opensuse.org/request/show/523742
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=1
2017-09-12 14:34:53 +00:00