BuildCompiledComponent
BuildCompiledComponent[comp]
builds the compiled component comp.
BuildCompiledComponent[comp,dest]
builds the compiled component comp, placing the result in dest.
Details and Options
- Compiled components can be used to represent a named group of compiler declarations.
- Compiled components can be used to represent compiled functionality that can be built into a shared library.
- Compiled components can be embedded in paclets.
- comp can be given as a CompiledComponent object or a string with the name of a compiled component.
- A compiled component is created by DeclareCompiledComponent.
- Typically, building a component with BuildCompiledComponent involves creating a shared library including compiled versions of the library functions and installed functions from the target component.
- A library built by BuildCompiledComponent can be loaded with LoadCompiledComponent.
- If no destination is set for BuildCompiledComponent, the library goes into "$UserBaseDirectory/SystemFiles/LibraryResources/$SystemID".
- The destination for BuildCompiledComponent can be a file path given as a string or using a File object.
- The destination for BuildCompiledComponent can be PacletObject, which places the library into "LibraryResources/$SystemID" inside the paclet.
- The following options can be given:
-
CompilerEnvironment Automatic a compiler environment that by default includes the declarations in the component CompilerOptions Automatic options to control the compilation CreateIntermediateDirectories Automatic whether to create intermediate directories in the destination path ProgressReporting Automatic how to report progress during the compilation
Examples
open allclose allBasic Examples (1)
Scope (1)
Options (1)
ProgressReporting (1)
Progress during a compilation is reported:
This can be suppressed by setting the option ProgressReporting to False.
The default value of ProgressReporting is Automatic, which means that the global setting $ProgressReporting is used. If this is set to False, then no progress reporting takes place.
Text
Wolfram Research (2022), BuildCompiledComponent, Wolfram Language function, https://reference.wolfram.com/language/ref/BuildCompiledComponent.html.
CMS
Wolfram Language. 2022. "BuildCompiledComponent." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BuildCompiledComponent.html.
APA
Wolfram Language. (2022). BuildCompiledComponent. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BuildCompiledComponent.html