Skip to content
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

Replace system tar command with cmake built-in tar function #196

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

srherbener
Copy link

Description

This PR changes the CRTM test CMake configuration to use the builtin cmake tar feature instead of the system tar command to unpack the downloaded test files. This change is desired to work around an issue with the latest spack-stack Intel build on Orion as described in: JCSDA/spack-stack/issues/1355.

Issue(s) addressed

Resolves JCSDA/spack-stack/issues/1355

Dependencies

List the other PRs that this PR is dependent on:
None

Impact

Expected impact on downstream repositories:
None - this is a cmake configuration only change which uses a different means for upacking a downloaded tar file.

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation (N/A)
  • I have run the unit tests before creating the PR
    • Built and Intel spack-stack environment on Orion using the latest develop branches, then built and tested jedi-bundle using that environment. The jedi-bundle build completed successfully and there were 7 ctest failures that match up with known test failures (and not related to this change).

@srherbener srherbener added the INFRA JEDI Infrastructure label Jan 15, 2025
@@ -99,7 +99,8 @@ else() # Download CRTM coefficients
# Only untar if the CHECK_PATH does not exist
if(NOT EXISTS ${UNTAR_DEST}/${CRTM_COEFFS_BRANCH}/)
message(STATUS "Untarring the downloaded file (~2 minutes) to ${UNTAR_DEST}")
execute_process(COMMAND tar -xzf ${DOWNLOAD_DEST} -C ${UNTAR_DEST}
execute_process(COMMAND ${CMAKE_COMMAND} -E chdir ${UNTAR_DEST}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add at comment there, at least a line pointing to the issue

# https://....

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a comment that includes the URL to the spack-stack issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INFRA JEDI Infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Orion, Intel environment for spack-stack-1.8.0 breaks the system tar command
2 participants