Skip to content

Conversation

@VeckoTheGecko
Copy link
Contributor

@VeckoTheGecko VeckoTheGecko commented Nov 29, 2024

Files of .so.dSYM extension are debugging files creating during C compilation on MacOS systems. This PR checks for them and cleans them up if they exist. This PR also does some refactoring of dead code related to Kernel.dyn_srcs.

During my debugging in a Jupyter notebook, I did realise some erroneous .so files were left behind sometimes. A bit inconsistent, as these should have been garbage collected. Couldn't recreate in the tests though. Perhaps something to do with the Jupyter notebook environment and how items are garbage collected? Thoughts @erikvansebille ?

Fixes #1637

`basename` is never a collection. It is always a string
dyn_srcs is not used in the codebase as its never defined (also backed up by having no test coverage), leading to several cleanups.
Still need to add tests, and make sure that no other places are saving these debugging files.
xref #1637
@VeckoTheGecko VeckoTheGecko merged commit f7648f0 into master Nov 29, 2024
13 checks passed
@VeckoTheGecko VeckoTheGecko deleted the v/1637 branch November 29, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Files with .so.dSYM extension aren't cleaned up after C compilation

3 participants