From 796588b2fd2a2dbf788e91bce9a1d247e001b061 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Wed, 3 Mar 2021 13:30:41 +0100 Subject: zig: add new package at v0.7.1 (#22046) --- var/spack/repos/builtin/packages/zig/package.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/zig/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/zig/package.py b/var/spack/repos/builtin/packages/zig/package.py new file mode 100644 index 0000000000..c29f71ba28 --- /dev/null +++ b/var/spack/repos/builtin/packages/zig/package.py @@ -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') -- cgit v1.2.3-70-g09d2