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

Overhaul Build System #2

Open
bangcorrupt opened this issue Dec 30, 2024 · 0 comments
Open

Overhaul Build System #2

bangcorrupt opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
build Build system issue.

Comments

@bangcorrupt
Copy link
Owner

bangcorrupt commented Dec 30, 2024

Build system has outgrown itself and requires overhaul.

User code should be in a separate tree, under a single project root directory.

cpu/src/common is copied to dsp/src/common during build. This should be moved up to the top level and given a separate makefile for each processor.

bfin_ldr.h is generated during build and copied to cpu/src/resources. We don't want to track the file, but the directory needs to exist else build fails. Build system should not be modifying files in the source tree. Currently we have an empty file to let git track the empty directory. This is jank.

I'm also getting different results building in my original repo compared with the repo cloned from github. Both binaries appear to work correctly, but are a different size. All of the submodules are on the same commit, using the same compiler versions with the same optimisation flags. I have no idea why this is happening.

@bangcorrupt bangcorrupt added the build Build system issue. label Dec 30, 2024
@bangcorrupt bangcorrupt self-assigned this Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system issue.
Projects
None yet
Development

No branches or pull requests

1 participant