Skip to content

[Hexagon] Fix Hexagon external libs check#13257

Merged
masahi merged 1 commit intoapache:mainfrom
quic-sanirudh:fix_hexagon_external_libs_check
Nov 7, 2022
Merged

[Hexagon] Fix Hexagon external libs check#13257
masahi merged 1 commit intoapache:mainfrom
quic-sanirudh:fix_hexagon_external_libs_check

Conversation

@quic-sanirudh
Copy link
Contributor

When building tvm runtime with hexagon we face the below error if USE_HEXAGON_EXTERNAL_LIBS is not defined. This happens because USE_HEXAGON_EXTERNAL_LIBS=OFF is defined as the default in CMakeLists.txt. The modified condition can check for all cases including undefined variable, empty string and OFF

CMake Error at cmake/modules/Hexagon.cmake:203 (message):
  Invalid use of USE_HEXAGON_EXTERNAL_LIBS=OFF; USE_HEXAGON_EXTERNAL_LIBS
  only supports absolute paths and git repository urls
Call Stack (most recent call first):
  CMakeLists.txt:477 (include)

@tvm-bot
Copy link
Collaborator

tvm-bot commented Nov 1, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@quic-sanirudh
Copy link
Contributor Author

cc @csullivan

@kparzysz-quic
Copy link
Contributor

@tvm-bot rerun

1 similar comment
@quic-sanirudh
Copy link
Contributor Author

@tvm-bot rerun

@mehrdadh
Copy link
Member

mehrdadh commented Nov 2, 2022

@driazati GPU build fails. Is this a known bug?

@driazati
Copy link
Member

driazati commented Nov 2, 2022

It's since been fixed on main but you'll need to rebase this branch

When building tvm runtime with hexagon we face the below error if
USE_HEXAGON_EXTERNAL_LIBS is not defined. This happens because
USE_HEXAGON_EXTERNAL_LIBS=OFF is defined as the default in
CMakeLists.txt. The modified condition can check for all cases including
undefined variable, empty string and OFF

CMake Error at cmake/modules/Hexagon.cmake:203 (message):
  Invalid use of USE_HEXAGON_EXTERNAL_LIBS=OFF; USE_HEXAGON_EXTERNAL_LIBS
  only supports absolute paths and git repository urls
Call Stack (most recent call first):
  CMakeLists.txt:477 (include)
@quic-sanirudh quic-sanirudh force-pushed the fix_hexagon_external_libs_check branch from 60266a2 to a361fa5 Compare November 3, 2022 09:14
@masahi masahi merged commit 60e2c98 into apache:main Nov 7, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 10, 2022
When building tvm runtime with hexagon we face the below error if
USE_HEXAGON_EXTERNAL_LIBS is not defined. This happens because
USE_HEXAGON_EXTERNAL_LIBS=OFF is defined as the default in
CMakeLists.txt. The modified condition can check for all cases including
undefined variable, empty string and OFF

CMake Error at cmake/modules/Hexagon.cmake:203 (message):
  Invalid use of USE_HEXAGON_EXTERNAL_LIBS=OFF; USE_HEXAGON_EXTERNAL_LIBS
  only supports absolute paths and git repository urls
Call Stack (most recent call first):
  CMakeLists.txt:477 (include)
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
When building tvm runtime with hexagon we face the below error if
USE_HEXAGON_EXTERNAL_LIBS is not defined. This happens because
USE_HEXAGON_EXTERNAL_LIBS=OFF is defined as the default in
CMakeLists.txt. The modified condition can check for all cases including
undefined variable, empty string and OFF

CMake Error at cmake/modules/Hexagon.cmake:203 (message):
  Invalid use of USE_HEXAGON_EXTERNAL_LIBS=OFF; USE_HEXAGON_EXTERNAL_LIBS
  only supports absolute paths and git repository urls
Call Stack (most recent call first):
  CMakeLists.txt:477 (include)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants