... | ... | @@ -83,21 +83,21 @@ While `rtcds` has appended some additional paths to the `RCG_LIB_PATH` variable, |
|
|
Now that the environment has been set up, all we need to do is run the `rtcds build <model_name> ` command. Example output for building a model with the mdl filename of [x1iop.mdl](https://git.ligo.org/cds/software/advligorts/-/raw/master/test/x1iop.mdl?inline=false), assuming it has been placed in the `/home/controls/models` directory:
|
|
|
```shell
|
|
|
controls@x1cymac:~/models$ rtcds build x1iop
|
|
|
### building x1unittest
|
|
|
Cleaning x1unittest...
|
|
|
### building x1iop
|
|
|
Cleaning x1iop...
|
|
|
Done
|
|
|
Parsing the model x1unittest...
|
|
|
Parsing the model x1iop...
|
|
|
Done
|
|
|
Building EPICS sequencers...
|
|
|
Done
|
|
|
Building front-end Linux kernel module x1unittest...
|
|
|
Building front-end Linux kernel module x1iop...
|
|
|
Done
|
|
|
RCG source code directory:
|
|
|
/home/controls/git/advligorts
|
|
|
The following files were used for this build:
|
|
|
/home/controls/models//x1iop.mdl
|
|
|
|
|
|
Successfully compiled x1unittest
|
|
|
Successfully compiled x1iop
|
|
|
***********************************************
|
|
|
Compile Warnings, found in /var/cache/advligorts/rcg-5.1.2//models/x1iop/logs/x1iop_warnings.log:
|
|
|
***********************************************
|
... | ... | @@ -131,4 +131,4 @@ controls@x1cymac:~$ tree -L 1 /var/cache/advligorts/rcg-5.1.2/models/x1unittest/ |
|
|
| `userspace/` | Stores the userspace build scrips and generated model code |
|
|
|
|
|
|
# Next Steps
|
|
|
If you are trying to run the module you just build, go to the [Installing Built Models](Installing-Modules) page. |
|
|
\ No newline at end of file |
|
|
If you are trying to run the module you just build, go to the [Installing Built Models](Installing-Modules) page. *** Note you should not install the x1iop module until you have set the hostname= parameter in the `.mdl` file. *** |
|
|
\ No newline at end of file |