-
Notifications
You must be signed in to change notification settings - Fork 773
move download of data files to source step for Casacore v3.5.0 #22201
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
Merged
bedroge
merged 7 commits into
easybuilders:develop
from
sara-nl:20250122214804_new_pr_casacore350
Feb 7, 2025
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d9890d6
move download of data files to source step to facilitate e.g. offline…
601e537
Extract data to builddir first, then copy to installdir in postinstal…
700cf98
Fix version of the measures data for this version
3756e1f
Fix version of the measures data for this version
c0c269e
Fix version of the measures data for this version
303201e
Update easybuild/easyconfigs/c/casacore/casacore-3.5.0-foss-2023b.eb
casparvl 7b42a0a
Update description to keep things consistent
bedroge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -11,17 +11,20 @@ Thus user's can update them. | |
|
|
||
| toolchain = {'name': 'foss', 'version': '2022a'} | ||
|
|
||
| source_urls = ['https://github.com/casacore/casacore/archive'] | ||
| sources = ['v%(version)s.tar.gz'] | ||
| checksums = [ | ||
| '63f1c8eff932b0fcbd38c598a5811e6e5397b72835b637d6f426105a183b3f91', # v3.5.0.tar.gz | ||
| sources = [ | ||
| { | ||
| 'filename': 'v%(version)s.tar.gz', | ||
| 'source_urls': ['https://github.com/%(name)s/%(name)s/archive'], | ||
| }, | ||
| { | ||
| 'filename': 'WSRT_Measures.ztar', | ||
| 'source_urls': ['ftp://[email protected]/outgoing/Measures'], | ||
| 'extract_cmd': 'tar xfvz %s --one-top-level=%(installdir)s/data', | ||
| } | ||
| ] | ||
|
|
||
| # Install casacore data | ||
| postinstallcmds = [ | ||
| 'wget --retry-connrefused ftp://[email protected]/outgoing/Measures/WSRT_Measures.ztar' + | ||
| ' -O /tmp/WSRT_Measures.ztar' + | ||
| ' && tar xfvz /tmp/WSRT_Measures.ztar --one-top-level=%(installdir)s/data' | ||
| checksums = [ | ||
| {'v3.5.0.tar.gz': '63f1c8eff932b0fcbd38c598a5811e6e5397b72835b637d6f426105a183b3f91'}, | ||
| {'WSRT_Measures.ztar': '73cb1c9b969336bf30d66f306a530f7d5af8c6b30ff63868d4c7055ac769a1f6'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -11,12 +11,23 @@ Thus user's can update them. | |
|
|
||
| toolchain = {'name': 'foss', 'version': '2023b'} | ||
|
|
||
| source_urls = ['https://github.com/%(name)s/%(name)s/archive'] | ||
| sources = ['v%(version)s.tar.gz'] | ||
| sources = [ | ||
| { | ||
| 'filename': 'v%(version)s.tar.gz', | ||
| 'source_urls': ['https://github.com/%(name)s/%(name)s/archive'], | ||
| }, | ||
| { | ||
| 'filename': 'WSRT_Measures.ztar', | ||
| 'source_urls': ['ftp://[email protected]/outgoing/Measures'], | ||
| 'extract_cmd': 'tar xfvz %s --one-top-level=%(installdir)s/data', | ||
| } | ||
| ] | ||
| patches = ['casacore-3.5.0-add-C-style-header-for-GCC-13.1.patch'] | ||
| checksums = [ | ||
| '63f1c8eff932b0fcbd38c598a5811e6e5397b72835b637d6f426105a183b3f91', # casacore-3.5.0.tar.gz | ||
| '7b35d21cd654a7a215d604310f5372319ad21b6261f4a7ae038912b97ef22983', # add-C-style-header-for-GCC-13.1.patch | ||
| {'v3.5.0.tar.gz': '63f1c8eff932b0fcbd38c598a5811e6e5397b72835b637d6f426105a183b3f91'}, | ||
| {'WSRT_Measures.ztar': '73cb1c9b969336bf30d66f306a530f7d5af8c6b30ff63868d4c7055ac769a1f6'}, | ||
| {'casacore-3.5.0-add-C-style-header-for-GCC-13.1.patch': | ||
| '7b35d21cd654a7a215d604310f5372319ad21b6261f4a7ae038912b97ef22983'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
|
|
@@ -39,15 +50,6 @@ configopts = '-DBUILD_PYTHON=NO -DBUILD_PYTHON3=YES -Wno-dev -DCXX11="ON" ' | |
| configopts += '-DDATA_DIR=%(installdir)s/data -DUSE_OPENMP=ON -DUSE_HDF5=ON ' | ||
| configopts += '-DUSE_MPI=ON ' | ||
|
|
||
| local_download_cmd = 'wget --retry-connrefused ftp://[email protected]/outgoing/Measures/WSRT_Measures.ztar ' | ||
| local_download_cmd += '-O /tmp/WSRT_Measures.ztar ' | ||
|
|
||
| # Install casacore data | ||
| postinstallcmds = [ | ||
| local_download_cmd, | ||
| "tar xfvz /tmp/WSRT_Measures.ztar --one-top-level=%(installdir)s/data", | ||
| ] | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': [ | ||
| 'lib/libcasa_casa.%s' % SHLIB_EXT, | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.