Closed ellosel closed 2 months ago
@nakajee should the yaml or command line option take precedence?
@nakajee should the yaml or command line option take precedence?
Not sure. Any other parameters for reference?
@nakajee should the yaml or command line option take precedence?
Not sure. Any other parameters for reference?
There aren't. For this to work, we have to give precedence to the yaml file. If it isn't specified in the file then we can fall back to the command line option (which will default to removing temporaries).
@nakajee should the yaml or command line option take precedence?
Not sure. Any other parameters for reference?
There aren't. For this to work, we have to give precedence to the yaml file. If it isn't specified in the file then we can fall back to the command line option (which will default to removing temporaries).
OK. The only thing is it is a little difficult to recognize this global parameter without having it in init part. Maybe better to put some comment for this parameter? Or, any better idea?
@nakajee should the yaml or command line option take precedence?
Not sure. Any other parameters for reference?
There aren't. For this to work, we have to give precedence to the yaml file. If it isn't specified in the file then we can fall back to the command line option (which will default to removing temporaries).
OK. The only thing is it is a little difficult to recognize this global parameter without having it in init part. Maybe better to put some comment for this parameter? Or, any better idea?
Another option is to drop the command line option and only support setting it via the config file. Then we could move it all into common. That said, there are a few others like this in the Tensile main.
The change looks good. Please update year in each header comment (as I said in another PR).
Summary:
Changes were added to TensileCreateLibrary to remove (or not) the
build_tmp
directory. However, the same changes were overlooked in Tensile. This PR adds the logic necessary to remove (default) or keepbuild_tmp
via the--keep-build-tmp
option.Outcomes:
Temporary source files and build artifacts are available for inspection after running Tensile command.
Notable changes:
Adds
--keep-build-tmp
option to Tensile application.Testing and Environment:
Local testing ran using a config file provided by @nakajee. After reviewing tensile ouput directory, temporary build files are removed (or not) depending on whether option is set.