Coder Social home page Coder Social logo

Bootstrap Builds about sw HOT 6 CLOSED

 avatar commented on June 20, 2024
Bootstrap Builds

from sw.

Comments (6)

egorpugin avatar egorpugin commented on June 20, 2024

Hi!

Yes, sure.
Just removed "bootstrap" way of building with cppan (sw v1) from readme today.
a1485d5
(And cppan may be build with cmake. Full chain was make -> cmake -> cppan -> sw.)

SW already has makefile generator as well as ninja one
https://github.com/SoftwareNetwork/sw/blob/master/src/driver/cpp/generator/generator.cpp#L2354
https://github.com/SoftwareNetwork/sw/blob/master/src/driver/cpp/generator/generator.h#L20
(implementations may be just a little bit outdated - not sure 100%)

But here comes interesting question, because sw needs its dependencies downloaded from the network storage. I thought about writing simple script or better implementing it also as part of makefile.
Last step would be running non-sw configure steps (configure files, perform checks etc.).
All this is not so trivial.

Instead it is possible to keep minimal bootstrapped storage (like initrd or initramfs in linux) somewhere on the web which will be downloaded by bootstrap makefile, unpacked and then participate in fresh build.

If you'd like to contribute, I appreciate.
Otherwise this item is not on top of todo currently, sorry.

from sw.

 avatar commented on June 20, 2024

@egorpugin that's totally fine, I'm willing to patch. I'll read more into it in a shortly.

from sw.

egorpugin avatar egorpugin commented on June 20, 2024

Also this features is needed when porting, for example, to other linux distros.
For example, I've built linux sw on ubuntu 18.04 and cannot run it on 16.04 because of older libc.

I implemented such bootstrap procedure for cppan & cmake some time ago.

from sw.

egorpugin avatar egorpugin commented on June 20, 2024

I have some theoretical progress (couple of ideas) on this.
But still it's for later time.

from sw.

 avatar commented on June 20, 2024

Awesome! I'll be waiting to see what comes of it

from sw.

egorpugin avatar egorpugin commented on June 20, 2024

Added in 994bb80

To provide a bootstrap build for you, please, provide your OS & ver.

from sw.

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.