Skip to content
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

lld: copy unwind only when building from source #210

Closed
wants to merge 1 commit into from
Closed

lld: copy unwind only when building from source #210

wants to merge 1 commit into from

Conversation

ArchangeGabriel
Copy link
Contributor

Currenty, building with a prebuilt lld results in:

CMake Error at external/llvm/llvm_deps.cmake:50 (file):
  file COPY cannot find
  "/build/intel-graphics-compiler/src/intel-graphics-compiler-igc-1.0.8744/IGC/DEFAULT_IGC_LLVM_SOURCES_DIR-NOTFOUND/libunwind/include/mach-o/compact_unwind_encoding.h":
  No such file or directory.
Call Stack (most recent call first):
  IGC/CMakeLists.txt:1252 (include)

I think this code should only be run when building from source as the comment suggest, so I (hopefully) moved it to the right place.

@ArchangeGabriel
Copy link
Contributor Author

(At least it allowed to build in my case, but I cannot check yours)

@pszymich pszymich linked an issue Oct 20, 2021 that may be closed by this pull request
@pszymich
Copy link
Contributor

Hi @ArchangeGabriel, was this pull-request supposed to fix #209?

@ArchangeGabriel
Copy link
Contributor Author

No, it’s a different issue. If you try to build with -DIGC_OPTION__LLD_MODE=Prebuilds without this patch it won’t work.

@ArchangeGabriel
Copy link
Contributor Author

Included in 4369c97.

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.

Failure to build 1.0.8744
2 participants