You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To improve the consistency, reproducibility, and ease of deployment for the riscv-opcodes project, I propose containerizing the project using Docker. Containerization will ensure that the environment for generating artifacts such as encoding.h, LaTeX tables, and other outputs is consistent across different development, testing, and production environments.
Proposed Solution:
# Use an official Python runtime as a parent imageARG PYTHON_VERSION=3.9-slim
FROM python:${PYTHON_VERSION}
# Set the working directory in the containerWORKDIR /app
# Copy the current directory contents into the container at /appCOPY . /app
# Install additional dependenciesRUN apt-get update && apt-get install -y \
make \
git \
cpp \
&& rm -rf /var/lib/apt/lists/*
# Configure Git to treat the directory as safeRUN git config --global --add safe.directory /app
# Install Python dependenciesRUN pip install --no-cache-dir pre-commit coverage
# Run pre-commit to ensure code qualityRUN pre-commit run --all-files
# Default command to run the parse.py scriptCMD ["./parse.py", "-pseudo", "-c", "-go", "-chisel", "-sverilog", "-rust", "-latex", "-spinalhdl", "rv*", "unratified/rv*"]
The text was updated successfully, but these errors were encountered:
To improve the consistency, reproducibility, and ease of deployment for the riscv-opcodes project, I propose containerizing the project using Docker. Containerization will ensure that the environment for generating artifacts such as encoding.h, LaTeX tables, and other outputs is consistent across different development, testing, and production environments.
Proposed Solution:
The text was updated successfully, but these errors were encountered: