[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <525fee98-c694-6a38-cd1e-dd7efd806620@gmail.com>
Date: Sun, 28 May 2023 11:39:32 -0300
From: Martin Rodriguez Reboredo <yakoyoku@...il.com>
To: "Ethan D. Twardy" <ethan.twardy@...il.com>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Wedson Almeida Filho <wedsonaf@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Tom Rix <trix@...hat.com>, Tiago Lam <tiagolam@...il.com>,
Kees Cook <keescook@...omium.org>, Finn Behrens <me@...enk.de>,
"open list:RUST" <rust-for-linux@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
"open list:CLANG/LLVM BUILD SUPPORT" <llvm@...ts.linux.dev>
Subject: Re: [PATCH v2 1/1] scripts/rust_is_available: Fix clang version check
On 5/28/23 10:18, Ethan D. Twardy wrote:
> [...]
> --- a/scripts/rust_is_available.sh
> +++ b/scripts/rust_is_available.sh
> @@ -102,8 +102,8 @@ fi
> # Check that the `libclang` used by the Rust bindings generator is suitable.
> bindgen_libclang_version=$( \
> LC_ALL=C "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_libclang.h 2>&1 >/dev/null \
> - | grep -F 'clang version ' \
> - | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' \
> + | grep -oE 'clang version [0-9]+\.[0-9]+\.[0-9]+' \
> + | cut -d' ' -f3 \
> | head -n 1 \
> )
> bindgen_libclang_min_version=$($min_tool_version llvm)
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@...il.com>
Tested-by: Martin Rodriguez Reboredo <yakoyoku@...il.com>
Powered by blists - more mailing lists