From 090c649308800e31396021b0b16662b342aa0dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Kriv=C3=A1cs=20Schr=C3=B8der?= Date: Tue, 30 Jun 2020 15:01:51 +0200 Subject: [PATCH] Try fixing LLVM issues on OSX (Also, get a decent grep) --- .travis/osx_script.sh | 6 ++++-- tcod_sys/lib.rs | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis/osx_script.sh b/.travis/osx_script.sh index 6e4b441f8..fa72a74bb 100644 --- a/.travis/osx_script.sh +++ b/.travis/osx_script.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash -export PATH="/usr/local/opt/llvm/bin:$PATH" -export LIBCLANG_PATH="/usr/local/opt/llvm/bin" +export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH" +export PATH="$(brew --prefix llvm)/bin:$PATH" +export LIBCLANG_PATH="$(brew --prefix llvm)/lib" + diff --git a/tcod_sys/lib.rs b/tcod_sys/lib.rs index 3adf19e3e..3a67723bf 100644 --- a/tcod_sys/lib.rs +++ b/tcod_sys/lib.rs @@ -1,4 +1,5 @@ #![allow(non_camel_case_types, non_snake_case, non_upper_case_globals)] #![allow(clippy::missing_safety_doc, clippy::redundant_static_lifetimes)] +#![allow(improper_ctypes)] include!(concat!("./", env!("BINDINGS_TARGET"), "_bindings.rs"));