From f5760c33ea6e97c9c110be17a64547b0c91ee9b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 7 Jan 2021 18:35:02 +0100
Subject: [PATCH] CI: on macOS, enforce flex and bison from Homebrew

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ce526b9d..0105f1b4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -93,7 +93,7 @@ build_macOS:
     - macOS
   script:
     - autoreconf -si
-    - './configure CXX=g++-10 CXXFLAGS=-static-libgcc'
+    - './configure CXX=g++-10 CXXFLAGS=-static-libgcc LEX=/usr/local/opt/flex/bin/flex YACC=/usr/local/opt/bison/bin/bison'
     - make -j$(nproc)
     - strip src/dynare-preprocessor
     - mkdir -p bin
-- 
GitLab