Skip to content

Commit

Permalink
zig: avoid hardcoding llvm version twice
Browse files Browse the repository at this point in the history
  • Loading branch information
cjones051073 committed Nov 29, 2019
1 parent 0dada12 commit 8339cc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lang/zig/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ long_description Zig is a general-purpose programming language designed for \

homepage https://ziglang.org/

depends_lib-append port:llvm-9.0
set llvm_version 9.0

depends_lib-append port:llvm-${llvm_version}

checksums rmd160 f6c957f66ebf9c981fea61cba4875081661ec3c6 \
sha256 abe3e8ef064225f342bb24165e3c8a35f8f2c45930489a53897e835e984117eb \
size 15743912

set llvm_version 9.0
set llvm_config LLVM_CONFIG=llvm-config-mp-${llvm_version}

compiler.blacklist-append *gcc* clang
Expand Down

0 comments on commit 8339cc4

Please sign in to comment.