You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix native-compiler detection in ocamltest (#10074)
this is a follow-up to commit 42efb99
Before that commit, it was possible to determine whether the
native-compiler was disabled by comparing the ARCH build variable with
the "none" string. This trick was used by ocamltest to figure out
whether the native compilers were available or not, because at the time
when ocamltest had to be made aware of that, this was the only way
to do (there was no build variable to keep track explictly of whether
the native compilers were enabled or not at that time, the explicit
build variable was introduced later).
So, the commit mentionned above actually broke ocamltest, causing it to
try (and fail) to run the native compilers when they were disabled
at configure time.
The present commit fixes this by making ocamltest rely on the appropriate
build variable since it has become available meanwhile.
(cherry picked from commit 128d12c)
0 commit comments