-
Notifications
You must be signed in to change notification settings - Fork 682
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create mlir cpu and modify build gcc 7 shell script * fix the bug of test_iree_resnet.py cuda test in cpu version error * fix constant folding tests * suport oneflow_test_cpu_only * pub * build script add flag * modify test yml * add python3 into \PATH * don't use pretrain model * install flowvision Co-authored-by: mosout <mosout@qq.com> Co-authored-by: jackalcooper <jackalcooper@gmail.com>
- Loading branch information
1 parent
357ef40
commit f6c3cb6
Showing
8 changed files
with
61 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
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,24 @@ | ||
set(BUILD_SHARED_LIBS YES CACHE BOOL "") | ||
# uncomment only if you know what you are doing | ||
# set(CMAKE_LINK_DEPENDS_NO_SHARED YES CACHE BOOL "") | ||
set(BUILD_CUDA NO CACHE BOOL "") | ||
set(BUILD_GIT_VERSION NO CACHE BOOL "") | ||
set(TREAT_WARNINGS_AS_ERRORS YES CACHE BOOL "") | ||
set(BUILD_HWLOC NO CACHE BOOL "") | ||
set(BUILD_TESTING OFF CACHE BOOL "") | ||
set(WITH_MLIR YES CACHE BOOL "") | ||
set(WITH_MLIR_CUDA_CODEGEN NO CACHE BOOL "") | ||
set(THIRD_PARTY_MIRROR aliyun CACHE STRING "") | ||
set(PIP_INDEX_MIRROR "https://pypi.tuna.tsinghua.edu.cn/simple" CACHE STRING "") | ||
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "") | ||
set(CMAKE_GENERATOR Ninja CACHE STRING "") | ||
set(CMAKE_C_COMPILER_LAUNCHER ccache CACHE STRING "") | ||
set(CMAKE_CXX_COMPILER_LAUNCHER ccache CACHE STRING "") | ||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF CACHE BOOL "") | ||
set(CMAKE_EXE_LINKER_FLAGS_INIT "-fuse-ld=lld" CACHE STRING "") | ||
set(CMAKE_MODULE_LINKER_FLAGS_INIT "-fuse-ld=lld" CACHE STRING "") | ||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-fuse-ld=lld" CACHE STRING "") | ||
set(CPU_THREADING_RUNTIME SEQ CACHE STRING | ||
"when using lld with TBB enabled, there will be linkage error") | ||
set(BUILD_HWLOC OFF CACHE BOOL "") | ||
set(WITH_ONEDNN OFF CACHE BOOL "") |
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