Skip to content

Commit

Permalink
Merge branch 'main' into microtvm/fix_cmsis_dep
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadh committed May 23, 2022
2 parents f876f57 + 4626a61 commit f46fce9
Show file tree
Hide file tree
Showing 237 changed files with 8,979 additions and 3,320 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Jenkinsfile linguist-generated=true

1 change: 1 addition & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ runs:
auto-activate-base: false
use-only-tar-bz2: true
python-version: 3.7
condarc-file: conda/condarc
- name: Conda info
shell: pwsh
run: |
Expand Down
29 changes: 0 additions & 29 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -766,35 +766,6 @@ if(BUILD_FOR_HEXAGON)
endif()
endif()

#Caches the build.
#Note that ccache-3.x doesn't support nvcc well, so CUDA kernels may never hit the cache and still
#need to be re-compiled every time. Using ccache 4.0+ can resolve this issue.

if(USE_CCACHE) # True for AUTO, ON, /path/to/ccache
if("${USE_CCACHE}" STREQUAL "AUTO") # Auto mode
find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
message(STATUS "Found the path to ccache, enabling ccache")
set(PATH_TO_CCACHE ccache)
else()
message(STATUS "Didn't find the path to CCACHE, disabling ccache")
endif(CCACHE_FOUND)
elseif("${USE_CCACHE}" MATCHES ${IS_TRUE_PATTERN})
find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
message(STATUS "Found the path to ccache, enabling ccache")
set(PATH_TO_CCACHE ccache)
else()
message(FATAL_ERROR "Cannot find ccache. Set USE_CCACHE mode to AUTO or OFF to build without ccache. USE_CCACHE=" "${USE_CCACHE}")
endif(CCACHE_FOUND)
else() # /path/to/ccache
set(PATH_TO_CCACHE USE_CCACHE)
message(STATUS "Setting ccache path to " "${PATH_TO_CCACHE}")
endif()
# Set the flag for ccache
set(CXX_COMPILER_LAUNCHER PATH_TO_CCACHE)
endif(USE_CCACHE)

find_and_set_linker(${USE_ALTERNATIVE_LINKER})

if(${SUMMARIZE})
Expand Down
Loading

0 comments on commit f46fce9

Please sign in to comment.