Skip to content
Commit 900aac35 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa._kmod: Cache compilation on cc --version

FIX

Caching of the compilation artifact was keyed on the compiler name so
far. This breaks if the user manipulates PATH and swaps different
binaries under the same name, e.g. multiple versions of clang all called
"clang".

Fix that by calling "cc --version" and caching based on the result. This
ensures we will not reuse artifacts created with a different toolchain.
parent e5e766c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment