The NVRTC options are just a local array of const char* you need to setup before the call to nvrtcCompileProgram().
Have a look at this old thread. This is how I translated runtime generated CUDA C++ code for an advanced material system to PTX:
https://forums.developer.nvidia.com/t/optix-compile-error-in-ptxstring/70636/2
There have been some amount of NVRTC related discussions on this OptiX sub-forum before
I recommend using the search feature in the top right while the page is on the OptiX sub-forum topics before asking a question.