-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OS][ww44] - Upstreaming compiler repository (#40)
* [OS][ww44] - Upstreaming compiler repository * [OS] Update submodules * [OS] Update schema paths * [OS] Upstreaming compiler repository - remove upa
- Loading branch information
1 parent
1a83394
commit 4f89b7c
Showing
3,642 changed files
with
143,128 additions
and
111,895 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# Copyright (C) 2024 Intel Corporation. | ||
# SPDX-License-Identifier: Apache 2.0 | ||
# | ||
|
||
macro(set_llvm_flags) | ||
set(LLVM_ENABLE_WARNINGS OFF CACHE BOOL "") | ||
set(LLVM_ENABLE_BINDINGS OFF CACHE BOOL "" FORCE) | ||
set(LLVM_ENABLE_RTTI ON CACHE BOOL "" FORCE) | ||
set(LLVM_ENABLE_EH ON CACHE BOOL "" FORCE) | ||
set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "" FORCE) | ||
set(LLVM_ENABLE_CRASH_OVERRIDES OFF CACHE BOOL "" FORCE) | ||
set(LLVM_ENABLE_PROJECTS "mlir" CACHE STRING "" FORCE) | ||
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR ENABLE_DEVELOPER_BUILD) | ||
set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "" FORCE) | ||
else() | ||
set(LLVM_ENABLE_ASSERTIONS OFF CACHE BOOL "" FORCE) | ||
endif() | ||
set(LLVM_INCLUDE_TESTS OFF CACHE BOOL "" FORCE) | ||
set(LLVM_INCLUDE_BENCHMARKS OFF CACHE BOOL "" FORCE) | ||
set(LLVM_TARGETS_TO_BUILD "host" CACHE STRING "" FORCE) | ||
set(CROSS_TOOLCHAIN_FLAGS_ "" CACHE STRING "" FORCE) | ||
set(CROSS_TOOLCHAIN_FLAGS_NATIVE "" CACHE STRING "" FORCE) | ||
set(LLVM_ENABLE_TERMINFO OFF CACHE BOOL "" FORCE) | ||
# we do not use examples and having it enabled | ||
# makes cmake complains about long path on Windows | ||
set(LLVM_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) | ||
set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "" FORCE) | ||
set(LLVM_BUILD_TOOLS OFF CACHE BOOL "" FORCE) | ||
set(LLVM_BUILD_UTILS ON CACHE BOOL "" FORCE) | ||
set(LLVM_INSTALL_UTILS ON CACHE BOOL "" FORCE) | ||
endmacro() |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.