forked from microsoft/onnxruntime-extensions
-
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.
switch cmake cmp0169 flag to new (microsoft#762)
* switch cmake cmp0169 flag to new * the missing spm code. * more refinement on cmake build targets * Update ci.yml * Update ci.yml * update the jpg files after using libjpeg instead of libjpeg-turbo * exclude cutlass too * upgrade the protobuf library to be consistent with ORT * update the protoc generated files * use the right patch name * Update cutlass.cmake
- Loading branch information
Showing
28 changed files
with
5,149 additions
and
1,663 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
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,19 +1,10 @@ | ||
FetchContent_Declare( | ||
Blingfire | ||
GIT_REPOSITORY https://github.com/microsoft/BlingFire.git | ||
GIT_TAG 0831265c1aca95ca02eca5bf1155e4251e545328 | ||
) | ||
|
||
|
||
FetchContent_GetProperties(Blingfire) | ||
|
||
if (NOT blingfire_POPULATED) | ||
FetchContent_Populate(Blingfire) | ||
|
||
# enable size optimization build | ||
add_subdirectory(${blingfire_SOURCE_DIR} ${blingfire_BINARY_DIR} EXCLUDE_FROM_ALL) | ||
set_target_properties(bingfirtinydll_static PROPERTIES | ||
FOLDER externals/bingfire) | ||
set_target_properties(fsaClientTiny PROPERTIES | ||
FOLDER externals/bingfire) | ||
endif() | ||
Blingfire | ||
GIT_REPOSITORY https://github.com/microsoft/BlingFire.git | ||
GIT_TAG 0831265c1aca95ca02eca5bf1155e4251e545328 | ||
EXCLUDE_FROM_ALL) | ||
|
||
FetchContent_MakeAvailable(Blingfire) | ||
set_target_properties(bingfirtinydll_static PROPERTIES FOLDER | ||
externals/bingfire) | ||
set_target_properties(fsaClientTiny PROPERTIES FOLDER externals/bingfire) |
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,10 +1,7 @@ | ||
FetchContent_Declare( | ||
cutlass | ||
GIT_REPOSITORY https://github.com/NVIDIA/cutlass.git | ||
GIT_TAG v3.1.0 | ||
) | ||
|
||
FetchContent_GetProperties(cutlass) | ||
if(NOT cutlass_POPULATED) | ||
FetchContent_Populate(cutlass) | ||
endif() | ||
cutlass | ||
GIT_REPOSITORY https://github.com/NVIDIA/cutlass.git | ||
GIT_TAG v3.1.0 | ||
EXCLUDE_FROM_ALL) | ||
set(CUTLASS_ENABLE_HEADERS_ONLY ON CACHE BOOL "") | ||
FetchContent_MakeAvailable(cutlass) |
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,10 +1,7 @@ | ||
FetchContent_Declare(dr_libs | ||
URL https://github.com/mackron/dr_libs/archive/dbbd08d81fd2b084c5ae931531871d0c5fd83b87.zip | ||
URL_HASH SHA1=84a2a31ef890b6204223b12f71d6e701c0edcd92 | ||
SOURCE_SUBDIR not_set | ||
) | ||
|
||
FetchContent_GetProperties(dr_libs) | ||
if(NOT dr_libs_POPULATED) | ||
# Fetch the content using previously declared details | ||
FetchContent_Populate(dr_libs) | ||
endif() | ||
FetchContent_MakeAvailable(dr_libs) |
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,11 +1,11 @@ | ||
FetchContent_Declare( | ||
googletest | ||
URL https://github.com/google/googletest/archive/9406a60c7839052e4944ea4dbc8344762a89f9bd.zip | ||
URL_HASH SHA1=06096d3900c356e468ba060a609642c635131106 | ||
URL https://github.com/google/googletest/archive/9406a60c7839052e4944ea4dbc8344762a89f9bd.zip | ||
URL_HASH SHA1=06096d3900c356e468ba060a609642c635131106 | ||
EXCLUDE_FROM_ALL | ||
) | ||
|
||
set(BUILD_GMOCK OFF CACHE BOOL "" FORCE) | ||
set(INSTALL_GTEST OFF CACHE BOOL "" FORCE) | ||
FetchContent_MakeAvailable(googletest) | ||
set_target_properties(gtest PROPERTIES FOLDER "externals/gtest") | ||
set_target_properties(gtest_main PROPERTIES FOLDER "externals/gtest") | ||
set_target_properties(gtest PROPERTIES FOLDER "externals/google") |
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,12 +1,10 @@ | ||
FetchContent_Declare(nlohmann_json | ||
GIT_REPOSITORY https://github.com/nlohmann/json.git | ||
GIT_TAG v3.10.5) | ||
GIT_TAG v3.10.5 | ||
SOURCE_SUBDIR single_include | ||
) | ||
|
||
set(JSON_BuildTests OFF CACHE INTERNAL "") | ||
|
||
FetchContent_GetProperties(nlohmann_json) | ||
if(NOT nlohmann_json_POPULATED) | ||
FetchContent_Populate(nlohmann_json) | ||
endif() | ||
|
||
add_compile_definitions(JSON_HAS_CPP_17=1) | ||
FetchContent_MakeAvailable(nlohmann_json) |
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
Oops, something went wrong.