mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 13:46:54 +00:00
build-all.py - add a note about xz requirement
This commit is contained in:
@@ -42,6 +42,7 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
|
# `xz` is preinstalled.
|
||||||
brew install git bison autoconf automake libffi findutils
|
brew install git bison autoconf automake libffi findutils
|
||||||
echo "$(brew --prefix findutils)/libexec/gnubin" >> $GITHUB_PATH
|
echo "$(brew --prefix findutils)/libexec/gnubin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
|||||||
+5
-4
@@ -73,12 +73,12 @@ Used environment variables:
|
|||||||
# on debian 7.8 these can be obtained with: #
|
# on debian 7.8 these can be obtained with: #
|
||||||
# $ apt-get install git gcc g++ autoconf bison bzip2 cmake #
|
# $ apt-get install git gcc g++ autoconf bison bzip2 cmake #
|
||||||
# mesa-common-dev libffi-dev libfontconfig1-dev #
|
# mesa-common-dev libffi-dev libfontconfig1-dev #
|
||||||
# libssl-dev #
|
# libssl-dev xz #
|
||||||
# #
|
# #
|
||||||
# on ubuntu 14.04: #
|
# on ubuntu 14.04: #
|
||||||
# $ apt-get install git gcc g++ autoconf bison make cmake #
|
# $ apt-get install git gcc g++ autoconf bison make cmake #
|
||||||
# mesa-common-dev libffi-dev libfontconfig1-dev #
|
# mesa-common-dev libffi-dev libfontconfig1-dev #
|
||||||
# libssl-dev #
|
# libssl-dev xz-utils #
|
||||||
# #
|
# #
|
||||||
# on OS X El Capitan with homebrew: #
|
# on OS X El Capitan with homebrew: #
|
||||||
# $ brew install git bison autoconf automake libffi cmake #
|
# $ brew install git bison autoconf automake libffi cmake #
|
||||||
@@ -86,7 +86,7 @@ Used environment variables:
|
|||||||
# on RHEL-related distros: #
|
# on RHEL-related distros: #
|
||||||
# $ yum install git gcc gcc-c++ autoconf bison make cmake #
|
# $ yum install git gcc gcc-c++ autoconf bison make cmake #
|
||||||
# mesa-libGL-devel libffi-devel fontconfig-devel bzip2 #
|
# mesa-libGL-devel libffi-devel fontconfig-devel bzip2 #
|
||||||
# automake patch byacc #
|
# automake patch byacc xz #
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -165,6 +165,7 @@ date = "date"
|
|||||||
curl = "curl"
|
curl = "curl"
|
||||||
wget = "wget"
|
wget = "wget"
|
||||||
strip = "strip"
|
strip = "strip"
|
||||||
|
xz = "xz" # Used implicitly for `tar -xf *.tar.xz`.
|
||||||
|
|
||||||
explicit_targets = [s for s in sys.argv[1:] if not s.startswith("-")]
|
explicit_targets = [s for s in sys.argv[1:] if not s.startswith("-")]
|
||||||
"""Targets provided by CLI."""
|
"""Targets provided by CLI."""
|
||||||
@@ -327,7 +328,7 @@ 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` on Debian / `byacc` on Red Hat.
|
yacc = "yacc" # Used during swig building process, installed with `bison` on Debian / `byacc` on Red Hat.
|
||||||
missing_commands: "list[str]" = []
|
missing_commands: "list[str]" = []
|
||||||
for cmd in [git, bunzip2, tar, cc, cplusplus, autoconf, automake, make, "patch", "cmake", yacc]:
|
for cmd in [git, bunzip2, tar, cc, cplusplus, autoconf, automake, make, "patch", "cmake", yacc, xz]:
|
||||||
if which(cmd) is None:
|
if which(cmd) is None:
|
||||||
missing_commands.append(cmd)
|
missing_commands.append(cmd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user