feat[next]: include dace build_folder_mode in gt4py config - #2933
Merged
Merged
Conversation
edopao
added this pull request to stack #2935
October 5, 2026 06:19
edopao
commented
Oct 5, 2026
philip-paul-mueller
approved these changes
Oct 5, 2026
Co-authored-by: Philip Müller <147368808+philip-paul-mueller@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request updates the mechanism for controlling whether DaCe build files are kept after compilation, switching from the
DACE_compiler_build_folder_modeenvironment variable to a new flag,GT4PY_KEEP_DACE_BUILD_FILES.This change was needed to comply with the new behavior of DaCe version 2.0.0a10. The DaCe PR spcl/dace#2602 gives highest priority to the configuration set inside the application code (
dace.Config.set()), which overrides whatever is set through the DaCe environment variables.Introduced the
KEEP_DACE_BUILD_FILESflag ingt4py/next/config.py, controlled by theGT4PY_KEEP_DACE_BUILD_FILESenvironment variable, to determine if DaCe build files are retained after compilation.Updated
set_dace_configinsrc/gt4py/next/program_processors/runners/dace/workflow/common.pyto useKEEP_DACE_BUILD_FILESfor settingdace.Config['compiler', 'build_folder_mode'](developmentif true, otherwiseproduction).