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

Fix Palladium CFLAGS for path parsing #312

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

klin02
Copy link
Member

@klin02 klin02 commented Mar 13, 2024

Previou for Verilator/VCS, SIM_CXXFLAGS will be passed twice, so we use \" for path, make it visible as " inside the code.
For Palladium, we pass these CFLAGS directly to gcc, so we should replace \" with ", to make it treat correctly in compilation.

Previou for Verilator/VCS, SIM_CXXFLAGS will be passed twice, so
we use \\\" for path, make it visible as " inside the code.
For Palladium, we pass these CXX_FLAGS directly to gcc, so we should
replace \\\" with \", to make it treat correctly in compilation.
@klin02 klin02 changed the title Fix Palladium CFLAGS for path parse Fix Palladium CFLAGS for path parsing Mar 13, 2024
@klin02 klin02 requested a review from poemonsense March 13, 2024 10:04
@poemonsense poemonsense merged commit 0a21549 into master Mar 13, 2024
5 checks passed
@poemonsense poemonsense deleted the fix-pldm-cflags branch March 13, 2024 13:01
klin02 added a commit that referenced this pull request Mar 18, 2024
Previous change #312
has an extra space, we cause error in path parsing, this change fixs
it.
klin02 added a commit that referenced this pull request Mar 19, 2024
Previous change #312 has an extra space, which cause error in path parsing, this change fixs it.
The usage of subst is $(subst <from>,<to>,<text>), redundant space is not allowed.
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.

2 participants