Skip to source code

Open source, all the way down

Read it. Build it. Make it better.

Browse the code, explore its history, and build BRL-CAD from source. The primary repositories are publicly readable without an account.

BRL-CAD

The solid modeling system, libraries, tools, and documentation.

Browse BRL-CAD

External dependencies

The external dependencies used to build BRL-CAD, together with their source repositories.

Browse bext

Clone BRL-CAD

git clone https://git.brlcad.org/BRL-CAD/brlcad.git

With BRL-CAD's build prerequisites installed, select this repository host when configuring. BRL-CAD passes it to the dependency build automatically. See the repository's INSTALL instructions for platform requirements and build options.

cmake -S brlcad -B brlcad-build \
  -DBRLCAD_REPOSITORY_ROOT=https://git.brlcad.org/BRL-CAD
cmake --build brlcad-build

Clone bext with its submodules

The recorded submodule URLs retain their original GitHub addresses. This command directs BRL-CAD submodule downloads to this host for the clone and its recursive operations.

git -c url.https://git.brlcad.org/BRL-CAD/.insteadOf=https://github.com/BRL-CAD/ \
  clone --recurse-submodules https://git.brlcad.org/BRL-CAD/bext.git

For an existing bext checkout, use the same mapping for updates:

git -C bext \
  -c url.https://git.brlcad.org/BRL-CAD/.insteadOf=https://github.com/BRL-CAD/ \
  submodule update --init --recursive

To build bext separately, configure it with -DBEXT_REPOSITORY_ROOT=https://git.brlcad.org/BRL-CAD.

Contribute

Cloning and browsing are open to everyone. Join the community to discuss improvements or request contributor access.