Skip to content

(mock compiler_wrapper) sync SPACK_DEBUG_PREFIX_MAP with production recipe#52619

Closed
SebastianPaucar wants to merge 1 commit into
spack:developfrom
SebastianPaucar:feature/mock-compiler-wrapper-debug-prefix-map
Closed

(mock compiler_wrapper) sync SPACK_DEBUG_PREFIX_MAP with production recipe#52619
SebastianPaucar wants to merge 1 commit into
spack:developfrom
SebastianPaucar:feature/mock-compiler-wrapper-debug-prefix-map

Conversation

@SebastianPaucar

@SebastianPaucar SebastianPaucar commented Jun 27, 2026

Copy link
Copy Markdown

This PR keeps the mock compiler_wrapper package used in unit tests in sync with the production recipe updated in the companion PR spack/spack-packages#5353 in spack-packages. In summary, it sets SPACK_DEBUG_PREFIX_MAP in setup_dependent_build_environment to match the behavior added in the following companion PRs:

That said, and based on the issue:

This full compiler-wrapper-spack-packages-spack workflow matches the -ffile-prefix-map=<staging>=. injection at compiler-wrapper level suggested by @haampie, @psakievich and @vbrunini, and it is part of the first step (the DWARF remapping) before moving things forward to the source copying at debug time, in accordance with our GSoC project in progress under @wdconinc guidance.

Note: spack style warnings encountered on the script are pre-existing (present before this change) and unrelated to this PR.

Signed-off-by: SebastianPaucar <paucar.sebastian@hotmail.com>
@haampie

haampie commented Jun 29, 2026

Copy link
Copy Markdown
Member

This PR shouldn't be necessary, the compiler wrapper package here is a leftover from the spack / spack-packages split, I will probably delete it at some point. See also #52407

@haampie haampie closed this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants