Attempt to fix macOS workflow mk8

This commit is contained in:
ejurgensen 2022-01-12 17:16:06 +01:00
parent 35382d1a7e
commit 074ad56ca1
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,9 @@ jobs:
- name: Install gperf, bison and flex - name: Install gperf, bison and flex
# MacOS comes with an ancient bison, we need a newer version. Homebrew's # MacOS comes with an ancient bison, we need a newer version. Homebrew's
# bison and flex are keg-only, which means they are not symlinked into # bison and flex are keg-only, which means they are not symlinked into
# /usr/local because macOS already provides this software. # /usr/local because macOS already provides this software. Homebrew tells
# you to adjust the $PATH, but I couldn't make that work, and I think
# symlinking is a better solution for simple binaries.
run: | run: |
brew install gperf bison flex brew install gperf bison flex
sudo ln -s /usr/local/opt/bison/bin/bison /usr/local/bin/bison sudo ln -s /usr/local/opt/bison/bin/bison /usr/local/bin/bison

View File

@ -163,8 +163,6 @@ EXTRA_DIST = \
# to the particular target name, so a header file name. # to the particular target name, so a header file name.
$(LEXER_SRC:.l=.h): $(LEXER_SRC) $(LEXER_SRC:.l=.h): $(LEXER_SRC)
$(LEX) --header-file=$@ --stdout $(@:.h=.l) > /dev/null $(LEX) --header-file=$@ --stdout $(@:.h=.l) > /dev/null
$(YACC) --version
which $(YACC)
# Anything built by make should be cleaned by make clean, but when it comes to # Anything built by make should be cleaned by make clean, but when it comes to
# flex/bison automake's support leaves something to be desired # flex/bison automake's support leaves something to be desired