bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Build the ROSE compiler in a Docker container using autotools or CMake. Use when setting up ROSE development environment, building ROSE from source, or troubleshooting ROSE build issues. ROSE requires GCC 7-10 which most modern hosts don't have, so Docker is the recommended approach.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install chunhualiao/rose-docker-build-skillInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
Build the ROSE source-to-source compiler in an isolated Docker container.
ROSE requires GCC 7-10. Modern systems have GCC 11+, causing build failures. Docker provides:
# 1. Clone ROSE
git clone git@github.com:rose-compiler/rose.git
cd rose && git checkout weekly
# 2. Create Docker environment
mkdir ../rose-docker && cd ../rose-docker
# 3. Build and run container (see Dockerfile below)
docker build -t rose-dev .
docker run -d --name rose-dev -v $(pwd)/../rose:/rose/src rose-dev
# 4. Build ROSE inside container
docker exec rose-dev bash -c 'cd /rose/src && ./build'
docker exec rose-dev bash -c 'mkdir -p /rose/build && cd /rose/build && \
/rose/src/configure --prefix=/rose/install \
--enable-languages=c,c++ \
--with-boost=/usr \
--with-boost-libdir=/usr/lib/x86_64-linux-gnu \
--disable-binary-analysis \
--disable-java'
docker exec rose-dev bash -c 'cd /rose/build && make core -j$(nproc)'
docker exec rose-dev bash -c 'cd /rose/build && make install-core'
CMake builds require CMake 4.x (3.16 fails at ROSETTA generation).
# 1. Clone ROSE
git clone git@github.com:rose-compiler/rose.git
cd rose && git checkout weekly
# 2. Create Docker environment and build container
mkdir ../rose-docker && cd ../rose-docker
docker build -t rose-dev -f Dockerfile.cmake .
docker run -d --name rose-cmake -v $(pwd)/../rose:/rose/src:ro rose-dev
# 3. Configure with CMake
docker exec -w /rose/build rose-cmake cmake /rose/src \
-DCMAKE_INSTALL_PREFIX=/rose/install \
-DENABLE_C=ON \
-DENABLE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release
# 4. Build (use -j4 to avoid OOM on 16GB systems)
docker exec -w /rose/build rose-cmake make -j4
# 5. Test
docker exec rose-cmake /rose/build/bin/rose-compiler --version
|...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# ROSE Docker Build
Build the ROSE source-to-source compiler in an isolated Docker container.
## Why Docker?
ROSE requires GCC 7-10. Modern systems have GCC 11+, causing build failures. Docker provides:
- Correct GCC version (9.x recommended)
- All dependencies pre-installed
- Reproducible builds
- Edit on host, build in container
## Quick Start (Autotools)
```bash
# 1. Clone ROSE
git clone git@github.com:rose-compiler/rose.git
cd rose && git checkout weekly
# 2. Create Docker environment
mkdir ../rose-docker && cd ../rose-docker
# 3. Build and run container (see Dockerfile below)
docker build -t rose-dev .
docker run -d --name rose-dev -v $(pwd)/../rose:/rose/src rose-dev
# 4. Build ROSE inside container
docker exec rose-dev bash -c 'cd /rose/src && ./build'
docker exec rose-dev bash -c 'mkdir -p /rose/build && cd /rose/build && \
/rose/src/configure --prefix=/rose/install \
--enable-languages=c,c++ \
--with-boost=/usr \
--with-boost-libdir=/usr/lib/x86_64-linux-gnu \
--disable-binary-analysis \
--disable-java'
docker exec rose-dev bash -c 'cd /rose/build && make core -j$(nproc)'
docker exec rose-dev bash -c 'cd /rose/build && make install-core'
```
## Quick Start (CMake)
CMake builds require CMake 4.x (3.16 fails at ROSETTA generation).
```bash
# 1. Clone ROSE
git clone git@github.com:rose-compiler/rose.git
cd rose && git checkout weekly
# 2. Create Docker environment and build container
mkdir ../rose-docker && cd ../rose-docker
docker build -t rose-dev -f Dockerfile.cmake .
docker run -d --name rose-cmake -v $(pwd)/../rose:/rose/src:ro rose-dev
# 3. Configure with CMake
docker exec -w /rose/build rose-cmake cmake /rose/src \
-DCMAKE_INSTALL_PREFIX=/rose/install \
-DENABLE_C=ON \
-DENABLE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release
# 4. Build (use -j4 to avoid OOM on 16GB systems)
docker exec -w /rose/build rose-cmake make -j4
# 5. Test
docker exec rose-cmake /rose/build/bin/rose-compiler --version
```
### CMake Options
|...Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.
Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.