-
Notifications
You must be signed in to change notification settings - Fork 171
CMake cannot find SPIRV-Tools.pc #29
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
Comments
Just an update: I tried a fresh make/install and reproduced the same error. |
Hi cgodfreyUW, Can you try again using tag 'igc_release_2018-11-15' ? The build went fine for me, and I can't reproduce the reported issue. |
I used 'igc_release_2018-11-15', the same problem as cgodfreyUW encountered.
|
I tried the build again today in a fresh workarea on my ubuntu, but I still couldn't reproduce the issue. I followed the exact steps as mentioned in the README, except igc folder. Can you please additional information, such as your system configuration or steps (if it's different) to assist our analysis? Thanks |
I enabled SKIP_SPIRV_TOOLS_INSTALL. So I can use "sudo make install". |
Sorry, I know this is lame/unhelpful but I ended up using the prebuilt packages from releases and they worked just fine - since everything is working now I probably won't build/install again. |
I met the same issue on Ubuntu 16.04 and I follow the same way as @EricksonLu. I have a quick look at IGC/AdaptorOCL/SPIRV/SPIRV-Tools/CMakeLists.txt. Line 254 through line 264 which was used to generate the SPIRV-Tools.pc were commented. And I didn't find the SPIRV-Tools.pc in the repo. And option ENABLE_SPIRV_TOOLS_INSTALL was set to ON by default. Am I missing something? |
my steps are like:
then I got the same error.
I also tried with this instead of the original one:
|
I was able to reproduce the error using older checkout. There is a recent fix on SPIRV-Tools Cmake file. I can no longer see the issue. Please update to latest IGC repo or use 'igc_release_2018-12-12' or new tag |
Closing the issue since the fix is already merged. |
Installation failed with the following message:
When I open cmake_install.cmake and go to line 50 I see
Then when I look for those
.pc
files they are indeed missing from the SPIRV-Tools directory.The text was updated successfully, but these errors were encountered: