-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: ggml: Improve vulkan-shaders-gen toolchain setup
Use configure_file to generate host_toolchain.cmake from template
- Loading branch information
1 parent
602295b
commit 49c225f
Showing
2 changed files
with
10 additions
and
13 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 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,8 @@ | ||
set(CMAKE_BUILD_TYPE Release) | ||
set(CMAKE_C_FLAGS -O2) | ||
set(CMAKE_CXX_FLAGS -O2) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY NEVER) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE NEVER) | ||
set(CMAKE_C_COMPILER @HOST_C_COMPILER@) | ||
set(CMAKE_CXX_COMPILER @HOST_CXX_COMPILER@) |