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 package sets dependence on "Autoconf" and "Msys2" for MSVC, although only NMAKE is used during build.
The function that determines the dependence at the current moment:
defbuild_requirements(self):
ifis_msvc(self):
self.tool_requires("automake/1.16.5")
else:
# required to support windows as a build machineifself._settings_build.os=="Windows":
self.win_bash=Trueifnotself.conf.get("tools.microsoft.bash:path", check_type=str):
self.tool_requires("msys2/cci.latest")
But can be perfectly simplified to:
defbuild_requirements(self):
# required to support windows as a build machineifnotis_msvc(self) andself._settings_build.os=="Windows":
self.win_bash=Trueifnotself.conf.get("tools.microsoft.bash:path", check_type=str):
self.tool_requires("msys2/cci.latest")
With this configuration, everything builds without any problem and extra large dependencies.
StingX84
changed the title
[package] mpdecimal/2.5.1: Extra dependency on autoconf and msys2 for MSVC builds
[package] mpdecimal/2.5.1: Extra dependency on autoconf for MSVC builds
Nov 2, 2024
StingX84
changed the title
[package] mpdecimal/2.5.1: Extra dependency on autoconf for MSVC builds
[package] mpdecimal/2.5.1: Extra dependency on automake for MSVC builds
Nov 2, 2024
Description
The package sets dependence on "Autoconf" and "Msys2" for MSVC, although only NMAKE is used during build.
The function that determines the dependence at the current moment:
But can be perfectly simplified to:
With this configuration, everything builds without any problem and extra large dependencies.
Package and Environment Details
Conan profile
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.runtime=MDd
compiler.version=17
compiler.toolset=v143
build_type=Debug
[options]
[build_requires]
[env]
Steps to reproduce
conan info -b * mpdecimal/2.5.1@
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: