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
The AutoToolsBuildEnvironment.make() method adds a deduced cpu_count_option with -j to the arguments of the make command.
This is not portable, and since the make_program can be customized, the -j option should not be (unconditionally) added, because it is not guaranteed that the configured make program supports the -j option.
This issue is in nature similar to that described and fixed for CMake in #2388.
Thanks for the report. #8285 should fix it (lets try to merge it for next 1.33)
In any case, we need to start moving the autotools to the new toolchain and helpers, as we are doing with CMake, Meson and others, please keep an eye on coming Conan releases about this. Thanks!
Environment Details
The AutoToolsBuildEnvironment.make() method adds a deduced
cpu_count_option
with-j
to the arguments of the make command.This is not portable, and since the
make_program
can be customized, the-j
option should not be (unconditionally) added, because it is not guaranteed that the configured make program supports the-j
option.This issue is in nature similar to that described and fixed for CMake in #2388.
The problem is in:
conan/conans/client/build/autotools_environment.py
Lines 241 to 246 in c7b9703
Logs
NMAKE : fatal error U1065: invalid option 'j'
The text was updated successfully, but these errors were encountered: