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
@axic suggested I mention this here: in the solidity repo we have to deviate from cable's cable_add_cxx_compiler_flag_if_supported, due to the regex in
We noticed when @axic attempted to re-sync our ancient eth_add_cxx_compiler_flag_if_supported with the current cable_add_cxx_compiler_flag_if_supported from here.
The text was updated successfully, but these errors were encountered:
I'm not sure where the problem is. The flag is tested as provided, without any modification. The regex replace is only used to have nicer CMake name for the variable (also visible in the output).
If you have a fix for your problem send me a patch.
@axic suggested I mention this here: in the solidity repo we have to deviate from cable's
cable_add_cxx_compiler_flag_if_supported
, due to the regex incable/CableCompilerSettings.cmake
Line 34 in ccd2732
Specifically we have
eth_add_cxx_compiler_flag_if_supported("-fmacro-prefix-map=${CMAKE_SOURCE_DIR}=/solidity")
inhttps://github.com/ethereum/solidity/blob/0015e8cd847ae81926438e7f8aa90b89ed328e0c/cmake/EthCompilerSettings.cmake#L29
which relies on slashes that are not at the beginning of the option to be left untouched.
We noticed when @axic attempted to re-sync our ancient
eth_add_cxx_compiler_flag_if_supported
with the currentcable_add_cxx_compiler_flag_if_supported
from here.The text was updated successfully, but these errors were encountered: