zig: add new package at v0.7.1 (#22046)

This commit is contained in:
Massimiliano Culpo 2021-03-03 13:30:41 +01:00 committed by GitHub
parent 25fb753cd2
commit 796588b2fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -50,6 +50,7 @@ packages:
yacc: [bison, byacc]
flame: [libflame, amdlibflame]
uuid: [util-linux-uuid, libuuid]
ziglang: [zig]
permissions:
read: world
write: user

View File

@ -0,0 +1,22 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class Zig(CMakePackage):
"""A general-purpose programming language and toolchain for maintaining
robust, optimal, and reusable software.
"""
homepage = "https://ziglang.org/"
git = "https://github.com/ziglang/zig.git"
version('0.7.1', tag='0.7.1')
variant(
'build_type', values=('Release', 'RelWithDebInfo', 'MinSizeRel'),
default='Release', description='CMake build type'
)
depends_on('llvm@11.0.0: +all_targets')
provides('ziglang')