Project

General

Profile

Support #24360

cetskelgen SHARED module

Added by Saba Sehrish 2 months ago. Updated 7 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Start date:
04/29/2020
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

I can't seem to make a shared analyzer using cetskelgen, for example the following gives me an error:

$ cetskelgen analyzer icaruswf --flavor SHARED
ERROR: Expected exactly two non-option arguments.
Usage:
    cetskelgen -h | --help | -?

    cetskelgen --help-types

    cetskelgen --help-type *plugin-type*

    cetskelgen [*options*] [--]
    [*plugin-type*[:*plugin-option*[,*plugin-option*]+]] *qualified-name*

    *Options*: --all-entries|-A | --boilerplate|-b *file* |
    --entries|--entry|-e *entry*+ | --header-loc *path* |
    --output-dir|--dir|-d *dir* | --split | --split-ext
    [*lib-source-extension*] | --verbose|-v

    Options marked with + are repeatable and cumulative.

History

#1 Updated by Kyle Knoepfel about 2 months ago

  • Estimated time set to 4.00 h
  • Assignee set to Kyle Knoepfel
  • Status changed from New to Assigned

#2 Updated by Kyle Knoepfel about 2 months ago

  • Target version set to 3.06.00

#3 Updated by Kyle Knoepfel 7 days ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Resolved
  • Category set to Documentation
  • Tracker changed from Bug to Support

It turns out that the instructions for how to do this correctly were in the help message above:

cetskelgen [options] [--]  [plugin-type[:plugin-option[,plugin-option]+]] qualified-name

meaning that the correct syntax for this case would be:

$ cetskelgen analyzer:--flavor,SHARED icaruswf
INFO: Wrote /.../icaruswf_module.cc

I have slightly expanded the documentation for the art-supported plugins to help clarify the usage:

$ cetskelgen --help-type analyzer

* analyzer from art version v3_05_01
  Usage: cetskelgen [options] [--] analyzer[:<arg>] qualified-name
  Args:
    [--flavor,<LEGACY|SHARED|REPLICATED>]
      Define the threading flavor of the analyzer (default LEGACY).

Implement with commit art:c590faf6.



Also available in: Atom PDF