BRICK is a powerful build tool specifically designed for compiling and managing large-scale programs, particularly HPC (High Performance Computing) applications. Built for developers who need manual control, speed, and reliability when building complex software systems that traditional build tools struggle with.
Key Features
HPC Optimized
Specialized for building high-performance computing applications with complex dependencies
Simple Scripting
A custom scripting language allows for precise control over build processes
Platform Independent
Consistent, reproducible builds across different environments and platforms
Getting Started
curl -sSL https://cy4.dev/brick/install.sh | sh
brick <folder>
./main.sh
Example Brick Script
Here's a simple example of a BRICK script that downloads and builds a C++ project:
# Download the source code from GitHub
@source gh:example/hello-world:v1.2.3
# Declare dependencies
@dep cmake
@dep gcc
# Configure and build the project
mkdir -p build
cd build
# Use BRICK environment variables
cmake .. -DCMAKE_INSTALL_PREFIX=${HELLO_WORLD_INSTALL_DIR}
make -j$(nproc)
make install
# Copy additional files
cp ../README.md ${HELLO_WORLD_INSTALL_DIR}/