Skip to content

Investigate experimental Mentor tool for containerizing Questa #2

@rfdonnelly

Description

@rfdonnelly

From Mentor:

We have an experimental program that be used to create a Docker container with minimum QuestaSim installation based on the end consumers needs.

$ nimbusen --help
/mtitcl/vsim/nimbusen (DEV-main 3940826 Ver. #3)
usage: /mtitcl/vsim/nimbusen options subsets...
where options are:
   -b | --baseimage <from-image>        FROM image specification (default: centos)
   -c | --container <image-name>        Create install tree and Dockerfile
   -d | --docker                        Create a Dockerfile
   -e | --env name=value                Add ENV definition
   -h | --help                          Give this help list
   --list                               List all available subsets
   -m | --maketree <tree-name>          Build an install tree from subsets
   -p | --platform <platform>           Selection platform (default: linux_x86_64)
   -r | --root <source-install>         Full install location
   -H | --stream                        Start one-time http tar streaming server
   -S | --sanitycheck <source-install>  verify subsets against release
   -t | --tar <prefix_name>             Create tarballs from source-install
   -v | --verbose
 
Example use:
 
# Select subsets to create a docker container:
    nimbusen --container qsim10.7c --root /u/release/10.7c/questasim  simulator baselibs uvm1.1d
 
# Call docker to create the container image:
    (cd 10.7c; sudo docker build -t qsim10.7c .)
 
Other uses:
# Capture the installation into subset tar files:
   nimbusen --tar 10.7c_ --root /u/release/10.7c/questasim
 
# Build a local install tree from the subsets:
    nimbusen --maketree 10.7c --platform linux_x86_64 simulator baselibs uvm1.1d
 
# Generate a Dockerfile for this subset tree:
    nimbusen --docker --root 10.7c --platform linux_x86_64 simulator baselibs uvm1.1d >10.7c/Dockerfile
 
# Shorthand notation:
    nimbusen -crp example10.7c 10.7c linux_x86_64 simulator baselibs uvm1.1d 
 
# http streaming:
    url=`nimbusen -H -crp exmpl_10.7c 10.7c linux_x86_64 simulator baselibs uvm1.1d`
    sudo docker build -t expl2 $url

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions