Skip to content

Commit

Permalink
ldc: Remove workaround for LLVM 10
Browse files Browse the repository at this point in the history
The bug it was working around has been fixed in Homebrew#61005
  • Loading branch information
Geod24 committed Sep 14, 2020
1 parent 87729fd commit f6f7125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/ldc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Ldc < Formula

depends_on "cmake" => :build
depends_on "libconfig" => :build
depends_on "llvm@9" # due to a bug in llvm 10 https://bugs.llvm.org/show_bug.cgi?id=47226
depends_on "llvm"

uses_from_macos "libxml2" => :build

Expand All @@ -39,7 +39,7 @@ def install

mkdir "build" do
args = std_cmake_args + %W[
-DLLVM_ROOT_DIR=#{Formula["llvm@9"].opt_prefix}
-DLLVM_ROOT_DIR=#{Formula["llvm"].opt_prefix}
-DINCLUDE_INSTALL_DIR=#{include}/dlang/ldc
-DD_COMPILER=#{buildpath}/ldc-bootstrap/bin/ldmd2
]
Expand Down

0 comments on commit f6f7125

Please sign in to comment.