Lines Matching full:version

8 min_tool_version=$(dirname $0)/min-tool-version.sh
10 # Convert the version string x.y.z to a canonical up-to-7-digits form.
13 # instances in other version scripts) to give a bit more space to
81 # Check that the Rust compiler version is suitable.
83 # Non-stable and distributions' versions may have a version suffix, e.g. `-dev`.
85 LC_ALL=C "$RUSTC" --version 2>/dev/null
89 echo >&2 "*** Running '$RUSTC' to check the Rust compiler version failed with"
102 echo >&2 "*** Running '$RUSTC' to check the Rust compiler version did not return"
115 echo >&2 "*** Your version: $rust_compiler_version"
116 echo >&2 "*** Minimum version: $rust_compiler_min_version"
123 echo >&2 "*** Your version: $rust_compiler_version"
124 echo >&2 "*** Expected version: $rust_compiler_min_version"
131 # Non-stable and distributions' versions may have a version suffix, e.g. `-dev`.
133 LC_ALL=C "$BINDGEN" --version 2>/dev/null
137 echo >&2 "*** Running '$BINDGEN' to check the Rust bindings generator version failed with"
150 echo >&2 "*** Running '$BINDGEN' to check the bindings generator version did not return"
163 echo >&2 "*** Your version: $rust_bindings_generator_version"
164 echo >&2 "*** Minimum version: $rust_bindings_generator_min_version"
171 echo >&2 "*** Your version: $rust_bindings_generator_version"
172 echo >&2 "*** Expected version: $rust_bindings_generator_min_version"
179 # In order to do that, first invoke `bindgen` to get the `libclang` version
187 echo >&2 "*** Running '$BINDGEN' to check the libclang version (used by the Rust"
196 # `bindgen` returned successfully, thus use the output to check that the version
199 # Unlike other version checks, note that this one does not necessarily appear
203 | sed -nE 's:.*clang version ([0-9]+\.[0-9]+\.[0-9]+).*:\1:p'
207 echo >&2 "*** Running '$BINDGEN' to check the libclang version (used by the Rust"
221 echo >&2 "*** Your version: $bindgen_libclang_version"
222 echo >&2 "*** Minimum version: $bindgen_libclang_min_version"
227 # If the C compiler is Clang, then we can also check whether its version
228 # matches the `libclang` version used by the Rust bindings generator.
230 # In the future, we might be able to perform a full version check, see
232 cc_name=$($(dirname $0)/cc-version.sh $CC | cut -f1 -d' ')
235 LC_ALL=C $CC --version 2>/dev/null \
236 | sed -nE '1s:.*version ([0-9]+\.[0-9]+\.[0-9]+).*:\1:p'
241 echo >&2 "*** version does not match Clang's. This may be a problem."
242 echo >&2 "*** libclang version: $bindgen_libclang_version"
243 echo >&2 "*** Clang version: $clang_version"