Giter Site home page Giter Site logo

Comments (7)

SylvainCorlay avatar SylvainCorlay commented on May 13, 2024

Hey @myd7349, thanks for working on the xeus vcpkg package!

Indeed we are never building xeus in debug mode in our CI. I will look into this.

from xeus.

myd7349 avatar myd7349 commented on May 13, 2024

@SylvainCorlay Thanks for your fast reply!

The command line option -DCMAKE_BUILD_TYPE=Debug here is important to reproduce this issue. Otherwise, CMAKE_BUILD_TYPE contains an empty value and the CMAKE_CXX_FLAGS_DEBUG overriding will be skipped.

Thanks again!

:-)

from xeus.

SylvainCorlay avatar SylvainCorlay commented on May 13, 2024

I think that the reason for this is that in

https://github.com/QuantStack/xeus/blob/0.18.1/CMakeLists.txt#L198-L201

we actually override the default behavior so that even for a DEBUG build of xeus, we link with the release builds of the dependencies.

from xeus.

SylvainCorlay avatar SylvainCorlay commented on May 13, 2024

Completely removing these lines should fix the issue.

Just had a quick chat with @JohanMabille about this. (He used it to debug on windows without having to build dependencies in debug mode).

We both think this should remove this completely.

from xeus.

SylvainCorlay avatar SylvainCorlay commented on May 13, 2024

Could you check that removing it fixes your issue? We would be glad to accept such a PR if it does.

from xeus.

myd7349 avatar myd7349 commented on May 13, 2024

@SylvainCorlay Thanks.

Yeah. I fixed this issue in a similar way before (https://github.com/Microsoft/vcpkg/pull/5351/files#diff-1ea5275a34978a592706e189515f71a1), and it worked for me.

from xeus.

myd7349 avatar myd7349 commented on May 13, 2024

It seems that cryptopp package installed via conda only contains a Release version of cryptopp-static.lib. So this line

message(STATUS "Forcing tests build type to Release")
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)

in test\CMakeLists.txt is important. Otherwise, the CI will fail.

from xeus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.