-
Notifications
You must be signed in to change notification settings - Fork 369
L_161
[INTERNAL]
::
Importer.
Just-in-time compilation of code General informationList of plugins
clang
shell
Note: some of the plugins in this list might not be available on your
system. Also, there might be extra plugins available to you that are not listed here. You can obtain their documentation with
Importer.doc("myextraplugin")
Interface to the JIT compiler CLANG
Extra doc: https://github.com/casadi/casadi/wiki/L_21v
List of available options
+--------------+-----------------+-----------------------------------------+ | Id | Type | Description | +==============+=================+=========================================+ | flags | OT_STRINGVECTOR | Compile flags for the JIT compiler. | | | | Default: None | +--------------+-----------------+-----------------------------------------+ | include_path | OT_STRING | Include paths for the JIT compiler. The | | | | include directory shipped with CasADi | | | | will be automatically appended. | +--------------+-----------------+-----------------------------------------+
Interface to the JIT compiler SHELL
Extra doc: https://github.com/casadi/casadi/wiki/L_22w
List of available options
+----------------------+-----------------+---------------------------------+ | Id | Type | Description | +======================+=================+=================================+ | cleanup | OT_BOOL | Cleanup temporary files when | | | | unloading. Default: true | +----------------------+-----------------+---------------------------------+ | compiler | OT_STRING | Compiler command | +----------------------+-----------------+---------------------------------+ | compiler_flags | OT_STRINGVECTOR | Alias for 'compiler_flags' | +----------------------+-----------------+---------------------------------+ | compiler_output_flag | OT_STRING | Compiler flag to denote object | | | | output. Default: '-o ' | +----------------------+-----------------+---------------------------------+ | compiler_setup | OT_STRING | Compiler setup command. | | | | Intended to be fixed. The | | | | 'flag' option is the prefered | | | | way to set custom flags. | +----------------------+-----------------+---------------------------------+ | directory | OT_STRING | Directory to put temporary | | | | objects in. Must end with a | | | | file separator. | +----------------------+-----------------+---------------------------------+ | extra_suffixes | OT_STRINGVECTOR | List of suffixes for extra | | | | files that the compiler may | | | | generate. Default: None | +----------------------+-----------------+---------------------------------+ | flags | OT_STRINGVECTOR | Compile flags for the JIT | | | | compiler. Default: None | +----------------------+-----------------+---------------------------------+ | linker | OT_STRING | Linker command | +----------------------+-----------------+---------------------------------+ | linker_flags | OT_STRINGVECTOR | Linker flags for the JIT | | | | compiler. Default: None | +----------------------+-----------------+---------------------------------+ | linker_output_flag | OT_STRING | Linker flag to denote shared | | | | library output. Default: '-o ' | +----------------------+-----------------+---------------------------------+ | linker_setup | OT_STRING | Linker setup command. Intended | | | | to be fixed. The 'flag' option | | | | is the prefered way to set | | | | custom flags. | +----------------------+-----------------+---------------------------------+ | name | OT_STRING | The file name used to write out | | | | compiled objects/libraries. The | | | | actual file names used depend | | | | on 'temp_suffix' and include | | | | extensions. Default: | | | | 'tmp_casadi_compiler_shell' | +----------------------+-----------------+---------------------------------+ | temp_suffix | OT_BOOL | Use a temporary (seemingly | | | | random) filename suffix for | | | | file names. This is desired for | | | | thread-safety. This behaviour | | | | may defeat caching compiler | | | | wrappers. Default: true | +----------------------+-----------------+---------------------------------+
Joris Gillis
Extra doc: https://github.com/casadi/casadi/wiki/L_161
C++ includes: importer.hpp
To edit, see writing tips.