BRL-CAD source code
Browse the code, explore its history, and build BRL-CAD from source. The project's primary repositories are hosted at git.brlcad.org and are publicly readable without an account.
brlcad
The BRL-CAD solid modeling system, libraries, tools, and documentation.
Browse BRL-CADbext
The external dependencies used to build BRL-CAD, together with their source repositories.
Browse dependenciesClone BRL-CAD
git clone https://git.brlcad.org/BRL-CAD/brlcad.git
Build using these repositories
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. Contact devs@brlcad.org for contributor access.