1.2 KiB
1.2 KiB
Skill: Build uLib with Micromamba
This skill provides instructions for building the uLib project using the micromamba environment.
Context
- Environment: micromamba
uLib - Output Directory:
build - CPU Usage: All available cores
Instructions
-
Environment Setup: Ensure micromamba is properly initialized and the
uLibenvironment is active.export MAMBA_EXE="/home/share/micromamba/bin/micromamba" export MAMBA_ROOT_PREFIX="/home/share/micromamba" eval "$(/home/share/micromamba/bin/micromamba shell hook --shell bash)" micromamba activate uLib -
Full Rebuild (if needed): If the
builddirectory does not exist or a full reconfiguration is required:conan profile detect --force conan install . --output-folder=build --build=missing cmake --preset conan-release -
Incremental Build: Run the build command from the root directory, pointing to the
buildfolder and using all cores.cmake --build build -j$(nproc) -
Specific Target Build: To build a specific target (e.g., gcompose):
cmake --build build --target gcompose -j$(nproc)