Coder Social home page Coder Social logo

Comments (8)

exjam avatar exjam commented on June 21, 2024

Just to clarify, this is because you want to be able to use the system libraries instead of using vcpkg? What about the libraries which are not provided by Gentoo?

from decaf-emu.

mazes-80 avatar mazes-80 commented on June 21, 2024

1/ I don't know anything about vcpkg even it was installed, I think the build system would fail exactly at the same place without noticing anything, not sure though, as said I don't know about it.

2/ Gentoo policy is to link against system libraries whenever possible (adding them to pkg base if unprovided). It would be good to try system libs from build system before trying to link to external things.

3/ Libraries not provided: I don't think it is a gentoo exclusive problem, I think most of linux distros do not ship those (debian does not just as a sample).

4/ specifically about gentoo: there's many phases in the build system for a package, after the download phase, any network access is restricted under the sandbox: so solutions like conan or so-like always fail. I think it's same way in BSD build systems. Keep in mind that what is possible for a build requiring user privs is not always possible in a build supervised by the system package manager

from decaf-emu.

exjam avatar exjam commented on June 21, 2024

Ok I will switch back to using vcpkg (previously Conan) only for those common system libraries such as sdl2, ffmpeg, curl and keep the less widely available libraries as submodules as it was before. So that on Linux you can get away with system package manager + submodules and on Windows vcpkg fills the role that Linux system package manager is doing.

from decaf-emu.

exjam avatar exjam commented on June 21, 2024

Should be fixed with 2b55942 ?

from decaf-emu.

mazes-80 avatar mazes-80 commented on June 21, 2024

from decaf-emu.

exjam avatar exjam commented on June 21, 2024

Ah yeah that was because gsl-lite was broken on a compiler update, so its currently pointing at decaf-emu/gsl-lite
https://github.com/decaf-emu/gsl-lite/

Although it is fixed upstream now so we could switch back.

from decaf-emu.

exjam avatar exjam commented on June 21, 2024

I switched gsl-lite and cnl back to their upstream repositories.

https://github.com/gsl-lite/gsl-lite/
https://github.com/johnmcfarlane/cnl/

Please let me know if there are any other improvements I can make for you

from decaf-emu.

mazes-80 avatar mazes-80 commented on June 21, 2024

I may make some PR soon, as some linux distros may provide:
catch
cereal
libfmt
pugixml
spdlog

For my builds I use system glslang also, but my approach in cmake files is too messy to be PR able until now.

from decaf-emu.

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.