rust compiler/builder package, new llvm variants

This commit is contained in:
Tom Scogland
2016-05-22 11:14:46 -07:00
parent 9bd4bc02d6
commit 00de72272d
3 changed files with 35 additions and 9 deletions

View File

@@ -21,6 +21,7 @@ class Rust(Package):
extendable = True
# Rust
depends_on("llvm")
depends_on("curl")
depends_on("git")
depends_on("cmake")
@@ -30,8 +31,8 @@ class Rust(Package):
depends_on("openssl")
def install(self, spec, prefix):
get_submodules()
configure('--prefix=%s' % prefix)
configure('--prefix=%s' % prefix,
'--llvm-root=' + spec['llvm'].prefix)
make()
make("install")