-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[llvm] install tools in tools/llvm #14399
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
0543279
[llvm] install tools in tools/llvm
strega-nil d51638c
remove the giant commented out block of code
strega-nil fd51e81
update port-version
strega-nil 36a5727
hopefully fix the port?
strega-nil af29fb4
format!
strega-nil c20a4f5
Merge remote-tracking branch 'upstream/master' into llvm
strega-nil 9f55147
apparently REGEX REPLACE fails if a thing doesn't match
strega-nil f005465
fix LLVM_REMOVE_EXTENSION_REGEX on windows
strega-nil f309dbc
actually read the cmake regex docs...
strega-nil 1eca3a0
fix the name of the variable
strega-nil dc20c20
turns out CMAKE_MATCH_1 is the one I want
strega-nil e49632c
need to update VERSION for new policy
strega-nil a3b3a86
stop removing debug/bin
strega-nil c2546f0
Merge remote-tracking branch 'upstream/master' into llvm
strega-nil ca9385e
fix faulty merge
strega-nil 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp | ||
| index 53ba24efc00..0badcafe000 100644 | ||
| --- a/llvm/tools/llvm-config/llvm-config.cpp | ||
| +++ b/llvm/tools/llvm-config/llvm-config.cpp | ||
| @@ -304,8 +304,8 @@ int main(int argc, char **argv) { | ||
| // Create an absolute path, and pop up one directory (we expect to be inside a | ||
| // bin dir). | ||
| sys::fs::make_absolute(CurrentPath); | ||
| CurrentExecPrefix = | ||
| - sys::path::parent_path(sys::path::parent_path(CurrentPath)).str(); | ||
| + sys::path::parent_path(sys::path::parent_path(sys::path::parent_path(CurrentPath))).str(); | ||
|
|
||
| // Check to see if we are inside a development tree by comparing to possible | ||
| // locations (prefix style or CMake style). |
This file contains hidden or 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 hidden or 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.
The
halidefailure is caused byI think this needs to use vcpkg_copy_tools or something like that instead so that only exes are moved?