GithubHelp home page GithubHelp logo

wowczarek / ptpd-builder Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 9 KB

PTPd "distributed" (parallel) "build system". Utter crap if you ask me. And I use it so I should know.

License: BSD 3-Clause "New" or "Revised" License

Shell 100.00%

ptpd-builder's Introduction

Wojciech's ptpd-builder

This is a quick and dirty set of scripts used for building ptpd on a variety of OSes. It is probably not fit for general distribution but hey, github backup! Very little error checking, inconsistent variable naming, magic values, you name it it's got it. No guarantee, no support, no pain, no gain.

Written some time in 2014 by Wojciech Owczarek for the PTPd project. Licence is BSD clause whatever (clause 3 in fact).

Assumptions:
  • SSH keys in place: having parallel processes asking for password is, erm, suboptimal
  • ssh config has the right username preset
  • hostnames are resolvable, etc
  • your target OSes can all run the configure script
  • you are not a muppet
Dependencies:
  • bash
  • GNU parallel
Setting up - it's all in flat files:
  • ./settings: included before the build - source directory definition and binary name
  • ./configopts: ./configure parameters - can/should be a symlink so it's easy to switch between different configs
  • ./buildhosts: list of hostnames to SSH to, one per line, no comment or whitespace removal, so know what you're doing; also a symlink
  • ./buildscript: this is what is executed on each host - so any OS (uname) specific stuff should be case'd there
Movin' it, doin' it, y'know:
  • just run ./runbuilds and watch it burn. Most prep work has suppressed output, build scripts only print stderr to console, everything goes into buildlogs/$hostname
  • after builds are done, binaries are fetched to binaries/$host/$binaryname.$host

ptpd-builder's People

Contributors

wowczarek avatar

Watchers

 avatar  avatar

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.