Commit Graph

53 Commits

Author SHA256 Message Date
Dominique Leuenberger
2b783d1e51 Accepting request 864149 from science:HPC
- Expand python_flavor to python executable. Thanks to Ben Greiner. (forwarded request 864148 from eeich)

OBS-URL: https://build.opensuse.org/request/show/864149
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=21
2021-01-20 17:23:13 +00:00
b31989adac 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
Dominique Leuenberger
0a5884adf3 Accepting request 822639 from science:HPC
- Fix %%hpc_base during hpc_init to allow for changes to %%_prefix.

OBS-URL: https://build.opensuse.org/request/show/822639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=20
2020-07-29 15:16:02 +00:00
a613aeea4c - Fix %%hpc_base during hpc_init to allow for changes to %%_prefix.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=50
2020-07-23 17:45:40 +00:00
Dominique Leuenberger
df4160fe55 Accepting request 801697 from science:HPC
- Fix typo in shell script variable.

OBS-URL: https://build.opensuse.org/request/show/801697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=19
2020-05-09 17:49:09 +00:00
3899b1e4e6 - Fix typo in shell script variable.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=48
2020-05-07 21:51:12 +00:00
Dominique Leuenberger
b81142fc94 Accepting request 798281 from 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. (forwarded request 798280 from eeich)

OBS-URL: https://build.opensuse.org/request/show/798281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=18
2020-04-29 18:41:52 +00:00
edee775227 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
Dominique Leuenberger
ef1ff96b94 Accepting request 672358 from science:HPC
- macros.hpc: Improve master package description and README message. (forwarded request 672357 from eeich)

OBS-URL: https://build.opensuse.org/request/show/672358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=17
2019-02-11 20:17:16 +00:00
32af44b9bd Accepting request 672357 from home:eeich:branches:science:HPC
- macros.hpc: Improve master package description and README message.

OBS-URL: https://build.opensuse.org/request/show/672357
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=44
2019-02-07 06:58:32 +00:00
eaa710f2c2 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
Dominique Leuenberger
090e030b48 Accepting request 663405 from science:HPC
- Remove redefinition of _sysconfdir in %%hpc_cmake:
  Redefining _sysconfdir to %%hpc_sysconfdir caused a recursive loop!

OBS-URL: https://build.opensuse.org/request/show/663405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=16
2019-01-15 12:13:55 +00:00
88255ddc25 - 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
Dominique Leuenberger
608d1a3f94 Accepting request 659954 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/659954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=15
2018-12-28 11:32:20 +00:00
Dirk Stoecker
1531c9aa43 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
Dominique Leuenberger
c77b973aa1 Accepting request 650134 from science:HPC
* Do not remove executable flag on .so files (forwarded request 650133 from eeich)

OBS-URL: https://build.opensuse.org/request/show/650134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=14
2018-11-19 22:33:17 +00:00
413dd18fa9 Accepting request 650133 from home:eeich:branches:science:machinelearning
* Do not remove executable flag on .so files

OBS-URL: https://build.opensuse.org/request/show/650133
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=37
2018-11-19 09:32:41 +00:00
9f361ce7b4 Accepting request 650115 from home:eeich:branches:science:machinelearning
- Improve python handling:
  * set python3 as default for Factory
  * allow to specify subdir to HPC pyton path

OBS-URL: https://build.opensuse.org/request/show/650115
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=36
2018-11-19 07:14:05 +00:00
947aaec95d 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
Dominique Leuenberger
04615fd6aa Accepting request 644959 from science:HPC
- Bump version (forwarded request 644958 from eeich)

OBS-URL: https://build.opensuse.org/request/show/644959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=13
2018-11-13 15:36:11 +00:00
4bda905855 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
275aca224a 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
2018-10-26 20:21:27 +00:00
f0ae774032 - macros: fix unexpanded macro in description of master package.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=31
2018-10-25 10:52:12 +00:00
Dominique Leuenberger
7ca096b39a Accepting request 631603 from science:HPC
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/631603
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=12
2018-08-27 10:59:50 +00:00
b290d20fc3 Accepting request 630405 from home:eeich:branches:science:HPC
- macros: %hpc_master_package: properly escape '\'

- macros:
  * Fix line endings
  * Replace %%compiler_family by %%hpc_compiler_family

OBS-URL: https://build.opensuse.org/request/show/630405
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=29
2018-08-19 14:30:23 +00:00
Yuchen Lin
b9e1ece6ee Accepting request 617653 from science:HPC
- Improve test to be more general. (forwarded request 617652 from eeich)

OBS-URL: https://build.opensuse.org/request/show/617653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=11
2018-06-20 13:31:24 +00:00
42d487174c 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
2b9180c684 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
2ffe5b8cf4 - 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
3a597ec2f0 - 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
Dominique Leuenberger
ba50bb1588 Accepting request 586049 from science:HPC
- Append a newline to the shebang line prepended by the
  %hpc_shebang_prepend_list macro (boo#1084951). (forwarded request 586048 from eeich)

OBS-URL: https://build.opensuse.org/request/show/586049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=10
2018-03-13 09:24:50 +00:00
156ef76b19 Accepting request 586048 from home:eeich:branches:science:HPC
- Append a newline to the shebang line prepended by the
  %hpc_shebang_prepend_list macro (boo#1084951).

OBS-URL: https://build.opensuse.org/request/show/586048
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=22
2018-03-12 19:23:13 +00:00
Dominique Leuenberger
7866d01749 Accepting request 582352 from science:HPC
- Add functions to:
  * sanitize the shebang path in scripts,
  * move python code to the local site arch directory removing 
    any leading shebang line and execute bits
  * Add the appropriate shebang line to a script and set the
    execution bit.
  * validate Python 3 code (bsc#1082209). (forwarded request 582351 from eeich)

OBS-URL: https://build.opensuse.org/request/show/582352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=9
2018-03-05 12:43:47 +00:00
2faca288c5 Accepting request 582351 from home:eeich:python
- Add functions to:
  * sanitize the shebang path in scripts,
  * move python code to the local site arch directory removing 
    any leading shebang line and execute bits
  * Add the appropriate shebang line to a script and set the
    execution bit.
  * validate Python 3 code (bsc#1082209).

OBS-URL: https://build.opensuse.org/request/show/582351
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=20
2018-03-04 11:15:02 +00:00
Dominique Leuenberger
9d60b2f41f Accepting request 574736 from science:HPC
- Fix summary in module files (bnc#1080259). (forwarded request 574735 from eeich)

OBS-URL: https://build.opensuse.org/request/show/574736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=8
2018-02-10 16:59:01 +00:00
3b783ae048 Accepting request 574735 from home:eeich:branches:science:HPC
- Fix summary in module files (bnc#1080259).

OBS-URL: https://build.opensuse.org/request/show/574735
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=18
2018-02-09 15:37:13 +00:00
Dominique Leuenberger
d2b51f3a7f Accepting request 571206 from science:HPC
- 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/request/show/571206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=7
2018-01-31 18:52:29 +00:00
55ffc365c5 - 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
Dominique Leuenberger
d0e4848180 Accepting request 543983 from science:HPC
- Add lua-lmod to the HPC base Requires
- Fix %name in %hpc_python_master_package
  Not only %pname but also %name needs to have python replaced
  by %python_flavor.
- Add macro to santize %pname for environment variables
  This marco up-cases the name and replaces '-' by '_'.

- Initial version (FATE#320596).

OBS-URL: https://build.opensuse.org/request/show/543983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=6
2017-11-21 14:34:15 +00:00
05187431e1 - Initial version (FATE#320596).
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=14
2017-11-20 20:26:51 +00:00
1bcc9c7ab4 - Add lua-lmod to the HPC base Requires
- Fix %name in %hpc_python_master_package
  Not only %pname but also %name needs to have python replaced
  by %python_flavor.
- Add macro to santize %pname for environment variables
  This marco up-cases the name and replaces '-' by '_'.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=13
2017-11-20 20:03:10 +00:00
Dominique Leuenberger
94db74ac5d Accepting request 535289 from science:HPC
- Fix master package macro to handle sub-packages with a
  different basename correctly. (forwarded request 535288 from eeich)

OBS-URL: https://build.opensuse.org/request/show/535289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=5
2017-10-20 12:47:16 +00:00
0bda09e250 Accepting request 535288 from home:eeich:branches:science:HPC
- Fix master package macro to handle sub-packages with a
  different basename correctly.

OBS-URL: https://build.opensuse.org/request/show/535288
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=11
2017-10-19 17:40:53 +00:00
Dominique Leuenberger
e76eae69e4 Accepting request 532128 from science:HPC
1

OBS-URL: https://build.opensuse.org/request/show/532128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=4
2017-10-07 15:50:56 +00:00
Nicolas Morey-Chaisemartin
091b5fa428 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
a3481b4809 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
Dominique Leuenberger
632df69eed Accepting request 531172 from science:HPC
- Add more documentation.
- Fix LICENSE and copyright statement in LICENSE. (forwarded request 531169 from eeich)

OBS-URL: https://build.opensuse.org/request/show/531172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=3
2017-10-05 10:02:18 +00:00
a4fd24f1e1 Accepting request 531169 from science:HPC:EnvMod
- Add more documentation.
- Fix LICENSE and copyright statement in LICENSE.

OBS-URL: https://build.opensuse.org/request/show/531169
OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=6
2017-10-04 11:09:55 +00:00
Nicolas Morey-Chaisemartin
54c78748be - 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
Dominique Leuenberger
7cded75442 Accepting request 525949 from science:HPC
- Add a dependency generator wrapper for binaries and libraries
  to avoid adding standard dependencies for HPC libraries.

- Removed unneeded BuildRequires: (forwarded request 525945 from eeich)

OBS-URL: https://build.opensuse.org/request/show/525949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-hpc?expand=0&rev=2
2017-09-15 20:30:52 +00:00