Giter VIP home page Giter VIP logo

sshyran / solaris-userland Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oracle/solaris-userland

0.0 1.0 0.0 169.83 MB

Open Source software in Solaris using gmake based build system to drive building various software components.

Shell 3.00% JavaScript 20.42% Ruby 0.01% C++ 1.50% Python 1.58% Perl 3.07% C 39.59% Java 0.01% Tcl 0.01% Assembly 0.17% Awk 0.03% Logos 0.41% XSLT 0.06% CSS 0.16% Clean 0.08% Makefile 26.70% HTML 2.98% PostScript 0.14% DTrace 0.09% DIGITAL Command Language 0.02%

solaris-userland's Introduction

Getting started with the Userland Consolidation

Getting Started

This README provides a very brief overview of the gate (i.e., source code repository), how to retrieve a copy, and how to build it. Detailed documentation about the Userland gate can be found in the doc directory.

Overview

The Userland consolidation maintains a project at

 https://github.com/oracle/solaris-userland

That repo contains build recipes, patches, IPS (i.e., pkg(7)) manifests, and other files necessary to download, prep, build, test, package and publish open source software. The build infrastructure makes use of hierarchical Makefiles which provide dependency and recipe information for building the components. In order to build the contents of the Userland gate, you need to clone it. Since you are reading this, you may already have.

Getting the Bits

The canonical repository internal to Oracle is stored in Mercurial, and is mirrored to an external Git repository on GitHub. In order to build or develop in the gate, you will need to clone it. For the external Git repository you can do so with the following command:

$ git clone https://github.com/oracle/solaris-userland /scratch/clone

This will create a replica of the various pieces that are checked into the source code management system, but it does not retrieve the community source archives associated with the gate content. To download the community source associated with your cloned workspace, you will need to execute the following:

$ cd /scratch/clone/components
$ gmake download

This will use GNU make and the downloading tool in the gate to walk through all of the component directories downloading and validating the community source archives from the gate machine or their canonical source repository.

There are two variation to this that you may find interesting. First, you can cause gmake(1) to perform its work in parallel by adding -j (jobs) to the command line. Second, if you are only interested in working on a particular component, you can change directories to that component's directory and use gmake download from that to only get its source archive.

Building the Bits.

You can build individual components or the contents of the entire gate.

Component build

If you are only working on a single component, you can just build it using following:

Setup the workspace for building components

$ cd (your-workspace)/components ; gmake setup

Build the individual component

$ cd (component-dir) ; gmake publish

Complete Top Down build

Complete top down builds are also possible by simply running $ tools/full-build # see --help for options

That is generally wrapper around $ cd (your-workspace) $ # cleanup your workspace to pristine state $ gmake publish $ # examine the log files and provide a summary

Copyright

Copyright (c) 2010, 2021, Oracle and/or its affiliates.

solaris-userland's People

Contributors

kulikjak avatar psumbera avatar niveditharau avatar vlmarek avatar mlsulliv avatar jbeck4004 avatar normjacobs avatar alanc avatar bukatlib avatar swaroop-ms avatar idorfl avatar craigmohrman avatar mmiyashi avatar saurabh-vyas avatar batrla avatar lijog avatar shivamanjunatha avatar alls0rts avatar orcl-jlana avatar comay avatar jacobvar avatar swilcox62 avatar bochiu avatar janparcel avatar shawnferry avatar swdevula avatar binarycrusader avatar yitezhan avatar gipulla avatar briancameron avatar

Watchers

 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.