forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[llvm] update to 13.0.0 (microsoft#20749)
* [llvm] update to 13.0.0 * add version * [llvm] rework processing of the CMake packages * update versions * [llvm] return patch to fix config paths * update version * [llvm] allow to build Flang on Windows * add version * [llvm] temporary enable Flang by default for test * update version * [llvm] fix Flang installation * update version * [llvm] try to fix Flang build * update version * [llvm] remove Flang from defaults and use Perl path * [halide] update to 13.0.0 * update versions * [mesa] update to v21.2.5 and fix build with LLVM 13 * [llvm] use version * update versions * [opencv4] fix build with Halide 13 * update version * update ci.baseline * [halide] update usage file * [llvm] update supports * update versions * [vcpkg-ci-llvm] add test port * [vcpkg-ci-llvm] rework test port * [vcpkg-ci-llvm] test more features * [halide] update to v13.0.1 * update version * [mesa] recover port version * update versions * [opencv4] update version * update version * Update opencv4.json * [halide] update to v13.0.2 and fix usage * update version * Update ports/halide/portfile.cmake Co-authored-by: Phoebe <[email protected]> * update version * enable LLVM ABI breaking checks to avoid Halide build fail Co-authored-by: Phoebe <[email protected]>
- Loading branch information
Showing
31 changed files
with
1,051 additions
and
167 deletions.
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
The package halide provides CMake targets: | ||
|
||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED YES) | ||
set(CMAKE_CXX_EXTENSIONS NO) | ||
|
||
find_package(Halide REQUIRED) | ||
|
||
# JIT mode: | ||
add_executable(my_halide_app main.cpp) | ||
target_link_libraries(my_halide_app PRIVATE Halide::Halide) | ||
|
||
# AOT mode: | ||
add_executable(my_generators my_generators.cpp) | ||
target_link_libraries(my_generators PRIVATE Halide::Generator) | ||
add_halide_library(my_first_generator FROM my_generators) | ||
add_halide_library(my_second_generator FROM my_generators | ||
PARAMS parallel=false scale=3.0 rotation=ccw output.type=uint16) | ||
add_halide_library(my_second_generator_2 FROM my_generators | ||
GENERATOR my_second_generator | ||
PARAMS scale=9.0 rotation=ccw output.type=float32) | ||
add_halide_library(my_second_generator_3 FROM my_generators | ||
GENERATOR my_second_generator | ||
PARAMS parallel=false output.type=float64) | ||
|
||
For more information see: | ||
https://github.com/halide/Halide/blob/@HALIDE_VERSION_TAG@/README_cmake.md |
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
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
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
llvm/tools/llvm-config/llvm-config.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp | ||
index 53ba24efc00..0badcafe000 100644 | ||
index 1a2f04552d13..9370c5e28206 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 | ||
@@ -305,7 +305,7 @@ int main(int argc, char **argv) { | ||
// 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 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.