Skip to content

Commit

Permalink
Check for USE_HEXAGON_EXTERNAL_LIBS triviality.
Browse files Browse the repository at this point in the history
  • Loading branch information
csullivan committed Oct 19, 2022
1 parent 18fe01c commit 4862898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tvm_option(USE_HEXAGON "Build with Hexagon support" OFF)
tvm_option(USE_HEXAGON_SDK "Path to the Hexagon SDK root (required for Hexagon support)" /path/to/sdk)
tvm_option(USE_HEXAGON_RPC "Enable Hexagon RPC using minRPC implementation over Android." OFF)
tvm_option(USE_HEXAGON_GTEST "Path to Hexagon specific gtest version for runtime cpp tests." /path/to/hexagon/gtest)
tvm_option(USE_HEXAGON_EXTERNAL_LIBS "Path to git repo containing external Hexagon runtime sources or libraries" "")
tvm_option(USE_HEXAGON_EXTERNAL_LIBS "Path to git repo containing external Hexagon runtime sources or libraries" OFF)
tvm_option(USE_RPC "Build with RPC" ON)
tvm_option(USE_THREADS "Build with thread support" ON)
tvm_option(USE_LLVM "Build with LLVM, can be set to specific llvm-config path" OFF)
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/Hexagon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ if(BUILD_FOR_HEXAGON)
)

# Include hexagon external library runtime sources
if(DEFINED USE_HEXAGON_EXTERNAL_LIBS)
if(DEFINED USE_HEXAGON_EXTERNAL_LIBS AND NOT ${USE_HEXAGON_EXTERNAL_LIBS} STREQUAL "")
# Check if the libs are provided as an absolute path
if (EXISTS ${USE_HEXAGON_EXTERNAL_LIBS})
# Check if the libs are provided as a git url
Expand Down

0 comments on commit 4862898

Please sign in to comment.