-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Build] Unable to suppress unused variable #16000
Comments
cc: @pranavsharma |
Maybe your CUDA version is too old. |
The CUDA version installed |
That's the reason. Can you upgrade it to CUDA 11.6 or above? All our CI pipelines are using CUDA 11.8. We support CUDA 11.8 better. |
i noticed you tried to supress warnings as error via --cmake_extra_defines CMAKE_CXX_FLAGS=-Wunused-variable
|
@snnn , it can probably be fixed by adding ORT_UNUSED_VARIABLE to the #else block at
|
@mc-nv , could you help verify @jywu-msft's fix? |
I'm in process of verification provided above suppression with I will keep you posted on my results. |
I created a PR for a targeted fix #16010 |
Given flag allows me to bypass above issue but build itself wasn't successful.
And return error:
|
can we have a branch with cherry-pick commits I can refer to in order to confirm the fixes? |
can you test main branch and rel-1.15.0 ? if main branch works and 1.15 does not, it means we need to cherry pick missing fixes into rel branch. |
Working on it... |
I was able able to build the OnnxRuntime on Jetson device using Thank you |
Done. @mc-nv , could you please help verify if the latest rel-1.15.0 branch is good? |
I'm checking. In context of current issue I can confirm that we were able to build build ORT with |
@snnn I may have to ask you revert this commit #16010 .
to bypass the issue for Jetson I had to remove newly added line and build it with flag Seems all the time that I built it successfully, that commit wasn't a part of the in OnnxRuntime code. |
@mc-nv, it has been fixed in main branch by replacing ORT_UNUSED_VARIABLE with ORT_UNUSED_PARAMETER. |
I will cherry-pick the change to the release branch when we do a patch release. |
Describe the issue
Hi OnnxRuntime team,
I'm trying to build OnnxRuntime on Jetson platform.
But keep failing due to unused variable error:
Urgency
We are trying to build it against
rel-1.15.0
branch and I would like to confirm it before release date.Target platform
aarch64
Build script
Error / output
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: