Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ANTLR4 dependencies for fasm. #1880

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/kokoro/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ cd github/$KOKORO_DIR/
# Run the common setup steps
source ./.github/kokoro/steps/movehome.sh
source ./.github/kokoro/steps/hostsetup.sh
source ./.github/kokoro/steps/install_antlr4_runtime.sh
source ./.github/kokoro/steps/hostinfo.sh
source ./.github/kokoro/steps/git.sh
8 changes: 5 additions & 3 deletions .github/kokoro/steps/hostsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,24 @@ sudo apt-get install -y \
colordiff \
coreutils \
curl \
default-jre-headless \
flex \
git \
graphviz \
inkscape \
jq \
make \
ninja-build \
nodejs \
pixz \
psmisc \
python \
python3 \
python3-dev \
python3-virtualenv \
python3-yaml \
virtualenv \
ninja-build \
pixz
uuid-dev \
virtualenv

if [ -z "${BUILD_TOOL}" ]; then
export BUILD_TOOL=make
Expand Down
25 changes: 25 additions & 0 deletions .github/kokoro/steps/install_antlr4_runtime.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

set -e

echo
echo "========================================"
echo "Host install antlr4-runtime"
echo "----------------------------------------"

VERSION=4.9

mkdir antlr4-cpp-runtime-${VERSION}
pushd antlr4-cpp-runtime-${VERSION}

wget https://www.antlr.org/download/antlr4-cpp-runtime-${VERSION}-source.zip
unzip antlr4-cpp-runtime-${VERSION}-source.zip
mkdir build
cd build
cmake ..
make -j
sudo make install

popd

echo "----------------------------------------"
2 changes: 1 addition & 1 deletion third_party/fasm
Submodule fasm updated from b8db36 to 3b6ce8