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

[Build] Cleanup Makefile rules, comments. No new features. #26

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

gapisback
Copy link
Member

This commit cleans-up some code ordering and comments in Makefile. No functionality is added / changed.

When building the programs with LOC enabled (i.e. generated
files mode), ensure that the generated loc_filenames.c is the
1st file in the list-of-sources defined for each binary being
built. Otherwise, depending on `make` rules, we may end-up
compiling one of the test-sources before the loc.h fileis
generated.

This results in using LOC-ELF mode of LOC-ID, which causes the
link step to fail.

this commit resolves this issue by consistently applying the
rule that, e.g., SINGLE_FILE_CC_PROGRAM_GENSRC, is listed as
the 1st item in SINGLE_FILE_CC_PROGRAM_TESTSRC . And, so on for
other program binaries.
@gapisback gapisback force-pushed the gapisback/Fix-LOC-ELF-cpp.v5 branch from 99fdcd5 to fc76a4d Compare April 11, 2024 20:55
@gapisback gapisback merged commit 087eff6 into main Apr 11, 2024
6 checks passed
@gapisback gapisback deleted the gapisback/Fix-LOC-ELF-cpp.v5 branch April 11, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant