summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-04-21 05:22:37 +0800
committerGitHub <noreply@github.com>2020-04-20 16:22:37 -0500
commitcf12541281fe7a252c50483dde2caa2c532cb233 (patch)
tree6f94bab9e62134598c722be68d5a56c57a5207c6
parenta70e76d043a452bcd3962896fa7281e4499fc2af (diff)
downloadspack-cf12541281fe7a252c50483dde2caa2c532cb233.tar.gz
spack-cf12541281fe7a252c50483dde2caa2c532cb233.tar.bz2
spack-cf12541281fe7a252c50483dde2caa2c532cb233.tar.xz
spack-cf12541281fe7a252c50483dde2caa2c532cb233.zip
Add new package: byacc (#16123)
* Add new package: byacc * refine byacc info
-rw-r--r--var/spack/repos/builtin/packages/byacc/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/byacc/package.py b/var/spack/repos/builtin/packages/byacc/package.py
new file mode 100644
index 0000000000..b555910c42
--- /dev/null
+++ b/var/spack/repos/builtin/packages/byacc/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2020 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)
+
+from spack import *
+
+
+class Byacc(AutotoolsPackage):
+ """Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc has
+ been made as compatible as possible with AT&T Yacc. Berkeley Yacc
+ can accept any input specification that conforms to the AT&T Yacc
+ documentation. Specifications that take advantage of undocumented
+ features of AT&T Yacc will probably be rejected."""
+
+ homepage = "https://github.com/grandseiken/byacc"
+ git = "https://github.com/grandseiken/byacc.git"
+
+ version('master', branch='master')
+
+ depends_on('m4', type='build')
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')