diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/ldc/.make.sh-auto | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/ldc/.make.sh-auto')
-rw-r--r-- | homebrew/ldc/.make.sh-auto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/ldc/.make.sh-auto b/homebrew/ldc/.make.sh-auto new file mode 100644 index 000000000..0a9b1f070 --- /dev/null +++ b/homebrew/ldc/.make.sh-auto @@ -0,0 +1,8 @@ +pkg:setup +ENV.cxx11 +(buildpath/"ldc-bootstrap").install resource("ldc-bootstrap") +mkdir "build" && cd build +args = std_cmake_args + %W[-DLLVM_ROOT_DIR=#{Formula["llvm"].opt_prefix} -DINCLUDE_INSTALL_DIR=#{include}/dlang/ldc -DD_COMPILER=#{buildpath}/ldc-bootstrap/bin/ldmd2 -DLDC_WITH_LLD=OFF -DRT_ARCHIVE_WITH_LDC=OFF ] +cmake .. *args +make +make DESTDIR=${PKG_DEST} install |