Python-Like Virtualenvs Would Be Really Nice For C/C++ Cross-Compiling (On Debian/Ubuntu)

This page summarizes the projects mentioned and recommended in the original post on /r/linux

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • mamba

    The Fast Cross-Platform Package Manager (by mamba-org)

  • Could you look at using conda with building local repos? It's not elegant, but could possibly work as: * Keep a local copy of the source for the libraries you want * Create a set of enviroment.ymls to create the various environments you want (this may be useful) * Use mamba to build the packages into the environment you want. This environment can be located wherever you want on the filesystem. * This environment folder is the armhf folder for the configuration you want to point clang to?

  • spack

    A flexible package manager that supports multiple versions, configurations, platforms, and compilers.

  • You should be able to achieve most of this with Spack.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • nixpkgs

    Nix Packages collection & NixOS

  • The cross infra is quite complicated but the setup inside Nixpkgs works, so I'd personally write a derivation for your program in Nixpkgs, make it work for pkgsCross then open a nix-shell for it for development. If what you're working on is OSS, you could even upstream your derivation for assimilation.

  • nixGL

    A wrapper tool for nix OpenGL application [maintainer=@guibou]

  • I have next to no experience doing that but you will probably have trouble with things that require GPU drivers to work. There is nixGL but it's not a great solution.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts