Comments (6)
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.
@egorpugin that's totally fine, I'm willing to patch. I'll read more into it in a shortly.
from sw.
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.
I have some theoretical progress (couple of ideas) on this.
But still it's for later time.
from sw.
Awesome! I'll be waiting to see what comes of it
from sw.
Added in 994bb80
To provide a bootstrap build for you, please, provide your OS & ver.
from sw.
Related Issues (20)
- Error compiling for iOS arm64 from macOS arm64 HOT 55
- Exception when executing: sw build org.sw.demo.google.tesseract.tesseract HOT 1
- Can't build podofo HOT 2
- i don't know why, HOT 3
- when I run sw build org.sw.demo.googke.tesseract -trace HOT 1
- Trying to Build tesseract - Errors from SW HOT 13
- SW is needed to build SW, server down HOT 1
- "Cannot find compiler" error in leptonica Windows build HOT 6
- No target resolved: pub.egorpugin.primitives.hash-master HOT 26
- ABSL file not found HOT 2
- swgui for Windows deprecated HOT 2
- Unknown CMake command "sw_add_package". HOT 7
- SSL connect error HOT 1
- windows tesseract build error (the error is on the SW side) HOT 2
- Tesseact 5.3.3 build issue HOT 6
- sw stuck while building tesseract HOT 2
- lua not built when adding sol2 dependency HOT 3
- CMake Error for SW: Non-zero exit code HOT 10
- sw setup failed HOT 2
- Leptonica Build error for dynamic Library HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sw.