Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate experimental Mentor tool for containerizing Questa #2

Open
rfdonnelly opened this issue Oct 4, 2019 · 0 comments
Open

Comments

@rfdonnelly
Copy link
Owner

rfdonnelly commented Oct 4, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant