-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow templates in
custom_paths
& custom_commands
sanity-check ar…
…guments E.g. for Python packages we (almost) always want to check for `lib/python%(pyshortver)s` and potentially add additional paths from EasyConfigs. Currently a workaround is used that sets the parameter in the easyconfig when it isn't set already which is against the semantics of `enhance_sanity_check`. This change allows this in a trivial way.
- Loading branch information
Showing
5 changed files
with
141 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
test/framework/easyconfigs/test_ecs/p/Python/Python-2.7.15.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'Python' | ||
version = '2.7.15' | ||
|
||
homepage = 'http://python.org/' | ||
description = """Python is a programming language that lets you work more quickly and integrate your systems | ||
more effectively.""" | ||
|
||
toolchain = SYSTEM | ||
|
||
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/'] | ||
sources = [SOURCE_TGZ] | ||
|
||
# This just serves to have a Python as a dependency to test e.g. the Python version templates | ||
# So all dependencies and extensions are removed | ||
dependencies = [] | ||
|
||
osdependencies = [] | ||
|
||
exts_list = [] | ||
|
||
moduleclass = 'lang' |
23 changes: 23 additions & 0 deletions
23
test/framework/easyconfigs/test_ecs/p/Python/Python-3.7.2.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
easyblock = 'ConfigureMake' | ||
|
||
name = 'Python' | ||
version = '3.7.2' | ||
|
||
homepage = 'http://python.org/' | ||
description = """Python is a programming language that lets you work more quickly and integrate your systems | ||
more effectively.""" | ||
|
||
toolchain = SYSTEM | ||
|
||
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/'] | ||
sources = [SOURCE_TGZ] | ||
|
||
# This just serves to have a Python as a dependency to test e.g. the Python version templates | ||
# So all dependencies and extensions are removed | ||
dependencies = [] | ||
|
||
osdependencies = [] | ||
|
||
exts_list = [] | ||
|
||
moduleclass = 'lang' |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters