mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
build-all.py - ensure yacc is installed
This commit is contained in:
+2
-2
@@ -310,8 +310,8 @@ targets = set(t for t in targets if "without-%s" % t.lower() not in flags)
|
|||||||
print("Building:", *sorted(targets, key=lambda t: len(list(gather_dependencies(t)))))
|
print("Building:", *sorted(targets, key=lambda t: len(list(gather_dependencies(t)))))
|
||||||
|
|
||||||
# Check that required tools are in PATH
|
# Check that required tools are in PATH
|
||||||
|
yacc = "yacc" # Used during swig building process, installed with `bison`.
|
||||||
for cmd in [git, bunzip2, tar, cc, cplusplus, autoconf, automake, make, "patch", "cmake"]:
|
for cmd in [git, bunzip2, tar, cc, cplusplus, autoconf, automake, make, "patch", "cmake", yacc]:
|
||||||
if which(cmd) is None:
|
if which(cmd) is None:
|
||||||
raise ValueError(f"Required tool '{cmd}' not installed or not added to PATH")
|
raise ValueError(f"Required tool '{cmd}' not installed or not added to PATH")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user