Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

intrinsics.di: add support for LLVM 11.1#195

Merged
JohanEngelen merged 1 commit intoldc-developers:ldcfrom
mitchblank:llvm-11_1
Feb 18, 2021
Merged

intrinsics.di: add support for LLVM 11.1#195
JohanEngelen merged 1 commit intoldc-developers:ldcfrom
mitchblank:llvm-11_1

Conversation

@mitchblank
Copy link
Copy Markdown

Without this building ldc against llvm 11.1 fails immediately. I'm not an LLVM expert but it seems OK once I added this.

@JohanEngelen JohanEngelen merged commit d32b4da into ldc-developers:ldc Feb 18, 2021
@JohanEngelen
Copy link
Copy Markdown
Member

great, thanks.
Can you also submit a PR that updates druntime submodule in the LDC repo?

@mitchblank
Copy link
Copy Markdown
Author

OK done: ldc-developers/ldc#3671

Hopefully I did it right; I'm not too much of a git submodules expert!

mitchblank added a commit to mitchblank/homebrew-core that referenced this pull request Feb 19, 2021
Two changes are required:
* The intrinsics.di need a one-line adjustment to recognize LLVM
  11.1 as a valid version.  This is already merged into the upstream
  HEAD but we need to adjust the patch a little when applying
  against the 1.24.0 tarball: ldc-developers/druntime#195

* As @bayandin discovered when trying to make this change a few
  months ago, "brew test" failed due to a loading problem with
  libLTO-ldc.dylib
    Homebrew#61117 (comment)
  I debugged this to a problem with it finding libLLVM.dylib
  correctly.  I filed this upstream as ldc-developers/ldc#3670
  but in the meantime we can just copy the library as a workaround.
JohanEngelen pushed a commit to ldc-developers/ldc that referenced this pull request Feb 19, 2021
BrewTestBot pushed a commit to Homebrew/homebrew-core that referenced this pull request Feb 19, 2021
Two changes are required:
* The intrinsics.di need a one-line adjustment to recognize LLVM
  11.1 as a valid version.  This is already merged into the upstream
  HEAD but we need to adjust the patch a little when applying
  against the 1.24.0 tarball: ldc-developers/druntime#195

* As @bayandin discovered when trying to make this change a few
  months ago, "brew test" failed due to a loading problem with
  libLTO-ldc.dylib
    #61117 (comment)
  I debugged this to a problem with it finding libLLVM.dylib
  correctly.  I filed this upstream as ldc-developers/ldc#3670
  but in the meantime we can just copy the library as a workaround.

Closes #71460.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants