ocpidev-clean — cleans OpenCPI assets
The clean verb cleans the OpenCPI assets specified by the noun used
in the command. If no nouns are provided, ocpidev cleans the current
directory. When the plural version of the nouns are used, no name is
specified and all assets of that type are cleaned.
The clean operation cleans the results of a build operation,
including any generated/built document files. The operation also cleans
the execution results of a run operation.
Asset types to be specified in the <noun> argument are:
application(s)
hdl
A prefix to indicate an HDL asset in the hdl subdirectory of a project. Possible HDL assets are:
assembl(y|ies)
device
platform(s)
primitive(s)
Clean all or a specified HDL primitive of a specified type. For a specified HDL primitive, possible HDL primitive types are:
library
core
librar(y|ies)
project
test(s)
worker(s)
Unless suppressed by options, the clean verb removes
both the built assets and their built OpenCPI asset documents from the project.
See the OpenCPI Documentation Writer Guide for details on OpenCPI asset documents.
In addition to the options common to all OpenCPI tools (see opencpi(1)),
the following options can be specified for the clean verb.
--doc-only
--no-doc
--simulation
--execute
Clean the asset represented by the current directory and all the assets underneath it.
ocpidev clean
Clean only the asset documents in the assets project. Omit the name assets if
inside the assets project.
ocpidev clean project assets --doc-only
Clean the dsp_comps library
located at components/dsp_comps in the project
implied by the current directory.
ocpidev clean library dsp_comps
See the main web site: https://www.opencpi.org
See the OpenCPI Application Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Application_Development_Guide.pdf
See the OpenCPI Component Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Component_Development_Guide.pdf
See the OpenCPI HDL Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_HDL_Development_Guide.pdf
See the OpenCPI Platform Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Platform_Development_Guide.pdf
See the OpenCPI RCC Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_RCC_Development_Guide.pdf
See the OpenCPI Documentation Writer Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Documentation_Writer_Guide.pdf