ldc: Remove old workarounds
Closes #48566. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
5afd5f9bcd
commit
4153489c84
1 changed files with 1 additions and 4 deletions
|
@ -3,6 +3,7 @@ class Ldc < Formula
|
||||||
homepage "https://wiki.dlang.org/LDC"
|
homepage "https://wiki.dlang.org/LDC"
|
||||||
url "https://github.com/ldc-developers/ldc/releases/download/v1.19.0/ldc-1.19.0-src.tar.gz"
|
url "https://github.com/ldc-developers/ldc/releases/download/v1.19.0/ldc-1.19.0-src.tar.gz"
|
||||||
sha256 "c7056c10ab841762b84ae9ea6ab083b131924d683e1e0d8a18aa496c537213ae"
|
sha256 "c7056c10ab841762b84ae9ea6ab083b131924d683e1e0d8a18aa496c537213ae"
|
||||||
|
revision 1
|
||||||
head "https://github.com/ldc-developers/ldc.git", :shallow => false
|
head "https://github.com/ldc-developers/ldc.git", :shallow => false
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
|
@ -30,11 +31,7 @@ class Ldc < Formula
|
||||||
-DLLVM_ROOT_DIR=#{Formula["llvm"].opt_prefix}
|
-DLLVM_ROOT_DIR=#{Formula["llvm"].opt_prefix}
|
||||||
-DINCLUDE_INSTALL_DIR=#{include}/dlang/ldc
|
-DINCLUDE_INSTALL_DIR=#{include}/dlang/ldc
|
||||||
-DD_COMPILER=#{buildpath}/ldc-bootstrap/bin/ldmd2
|
-DD_COMPILER=#{buildpath}/ldc-bootstrap/bin/ldmd2
|
||||||
-DLDC_WITH_LLD=OFF
|
|
||||||
-DRT_ARCHIVE_WITH_LDC=OFF
|
|
||||||
]
|
]
|
||||||
# LDC_WITH_LLD see https://github.com/ldc-developers/ldc/releases/tag/v1.4.0 Known issues
|
|
||||||
# RT_ARCHIVE_WITH_LDC see https://github.com/ldc-developers/ldc/issues/2350
|
|
||||||
|
|
||||||
system "cmake", "..", *args
|
system "cmake", "..", *args
|
||||||
system "make"
|
system "make"
|
||||||
|
|
Loading…
Reference in a new issue