-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coin-osi: conan v2 support #15834
coin-osi: conan v2 support #15834
Conversation
This PR needs #15746 (to fix pkg_config_name of PkgConfigDeps generator). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Works fine with legacy AutotoolsBuildEnvironment but not with AutotoolsToolchain... Could it come from a missing |
Well no, it doesn't change anything in generated echo "echo Restoring environment" > "C:\Users\spaceim\.conan\data\coin-osi\0.108.7\_\_\build\836812841adeb5158788d3ad3822fa734ac759f4\build-release\conan\deactivate_conanautotoolstoolchain.sh"
for v in CC CXX CPPFLAGS CXXFLAGS CFLAGS LDFLAGS PKG_CONFIG_PATH LD AR
do
is_defined="true"
value=$(printenv $v) || is_defined="" || true
if [ -n "$value" ] || [ -n "$is_defined" ]
then
echo export "$v='$value'" >> "C:\Users\spaceim\.conan\data\coin-osi\0.108.7\_\_\build\836812841adeb5158788d3ad3822fa734ac759f4\build-release\conan\deactivate_conanautotoolstoolchain.sh"
else
echo unset $v >> "C:\Users\spaceim\.conan\data\coin-osi\0.108.7\_\_\build\836812841adeb5158788d3ad3822fa734ac759f4\build-release\conan\deactivate_conanautotoolstoolchain.sh"
fi
done
export CC="cl -nologo"
export CXX="cl -nologo"
export CPPFLAGS="$CPPFLAGS -DNDEBUG"
export CXXFLAGS="$CXXFLAGS -MD -O2 -Ob2 -EHsc -FS"
export CFLAGS="$CFLAGS -MD -O2 -Ob2 -FS"
export LDFLAGS="$LDFLAGS"
export PKG_CONFIG_PATH="/c/users/spaceim/.conan/data/coin-osi/0.108.7/_/_/build/836812841adeb5158788d3ad3822fa734ac759f4/build-release/conan:$PKG_CONFIG_PATH"
export LD="link -nologo"
export AR="lib -nologo" This file seems correct, so I don't understand what's wrong. |
Conan v1 pipeline ✔️All green in build 5 (
Conan v2 pipeline (informative, not required for merge) ❌
The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future. See details:Failure in build 5 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Specify library name and version: lib/1.0