-
Notifications
You must be signed in to change notification settings - Fork 795
sycldevice-binding.bc Generation Fix, sycl branch (2020.07.13.) #2101
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
Conversation
Since it is not put into a "standard" directory, one needs to make sure by hand that it would be created.
|
I would recommend using configure.py to build make/ninja build system files (see get started guide). Just out of curiosity: why do you build libclc with X86 target? |
|
The example was not a great one... I just wanted to show what I did "locally" to reproduce a problem that I saw at first during a Docker image build. For that image I use the following configuration: |
|
Interesting... |
no idea ... it always worked fine on our machines. The change make senses to me (but I'm no CMake expert). |
|
It's clear that the CI doesn't build As to why it didn't show up in @Naghasan's configuration: You use Ninja, don't you? Since I was very surprised to find just now, that Ninja is creating that directory automatically for you. For some reason... 😕 But with GNU Make you have to be explicit about creating it. I guess I also learned something new from this... |
It does (buildbot/Lit_With_Cuda), it caught a few refactoring mistake actually :)
I do and so does the CI so that's explain why it never showed up.
nice job catching this |
While trying to build the tip of the sycl branch with
, I ran into the following kind of failures:
I traced them down to a shortcoming in the recently introduced
add_libclc_sycl_binding(...)function. With this change added I was able to build the code successfully once again.