कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

rose-docker-build-skill

chunhualiao द्वारा

DevOps & Cloud
1.0kclawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Build the ROSE compiler in a Docker container using autotools or CMake.

विवरण

यह स्किल क्या करती है

Builds the ROSE source-to-source compiler inside a Docker container using either autotools or CMake. ROSE requires GCC 7-10, which conflicts with GCC 11+ on modern hosts, making Docker the practical build environment. Supports editing source on the host while compiling inside the container.

Avoids GCC version conflicts by isolating the build in a container, so users don't need to downgrade or maintain a separate toolchain on their host system.

इसे कब इस्तेमाल करें

  • Setting up a ROSE development environment on a machine with GCC 11+
  • Building ROSE from the weekly branch with EDG C++ frontend binaries
  • Running source-to-source transformations on C/C++ programs
  • Comparing autotools and CMake build times for ROSE
  • Troubleshooting EDG binary linking or ROSETTA generation failures

उदाहरण वर्कफ़्लो

इनपुट

User asks: build ROSE using CMake inside Docker

एजेंट
  1. 1

    Clones rose-compiler/rose and checks out the weekly branch

  2. 2

    Creates a Dockerfile.cmake with Ubuntu 20.04, required build dependencies, and CMake 4.x from Kitware

  3. 3

    Builds and starts the container with the ROSE source mounted as a read-only volume

  4. 4

    Runs cmake inside the container with C/C++ analysis enabled and tests disabled

  5. 5

    Runs make -j4 and verifies the build with rose-compiler --version

आउटपुट

Working ROSE compiler binary at /rose/build/bin/rose-compiler inside the container, ready for source-to-source transformations

आवश्यकताएँ

  • Docker installed on the host machine

इंस्टॉलेशन

clawhub install chunhualiao/rose-docker-build-skill

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक