This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Fix broken amalgamation #12792
Merged
Merged
Fix broken amalgamation #12792
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0ca3371
Fix broken amalgamation
ufoym 03f9b03
Fixes #8850
ufoym 1455e11
Merge branch 'master' into master
ufoym 5163c36
Merge branch 'master' into master
ufoym 0acd7b3
Merge branch 'master' into master
ufoym f4f109e
Update CONTRIBUTORS.md
ufoym fd2ff73
Merge branch 'master' into master
ufoym 76f82fd
Update CONTRIBUTORS.md
ufoym File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,7 +143,12 @@ def expand(x, pending, stage): | |
continue | ||
path = m.groups()[0] | ||
h = path.strip('./') if "../3rdparty/" not in path else path | ||
source = find_source(h, x, stage) | ||
if h.endswith('complex.h') and x.endswith('openblas_config.h'): | ||
source = '' | ||
elif h.startswith('ps/'): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where does the "ps/" come from? Maybe we can edit where this comes from instead of adding an exception? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Feel free to rewrite that instead. It doesn't seem correct to me. |
||
source = '../3rdparty/ps-lite/include/' + h | ||
else: | ||
source = find_source(h, x, stage) | ||
if not source: | ||
if (h not in blacklist and | ||
h not in sysheaders and | ||
|
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment explaining the special case? Also, is there maybe a nicer way to deal with this ambiguity - e.g. making the names (complex.h) more unique in the output to avoid a name clash?