[Craft] [Bug 396030] New: Add option to specify compiler on command line to CraftBootstrap.py

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Jun 30 20:04:57 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=396030

            Bug ID: 396030
           Summary: Add option to specify compiler on command line to
                    CraftBootstrap.py
           Product: Craft
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Core
          Assignee: vonreth at kde.org
          Reporter: krichter722 at aol.de
                CC: kde-windows at kde.org
  Target Milestone: ---

Adding an option like `--compiler` would avoid the prompt

    Select compiler
    [0] gcc, [1] clang (Default is gcc):

and facilitate the use on headless CI services (I'm aware that there're other
ways like expect or even easier ones to handle this).

The current output of `./CraftBootstrap.py --help`

    usage: CraftSetupHelper [-h] [--root ROOT] [--prefix PREFIX] [--branch
BRANCH]
                            [--verbose] [--dry-run DRY_RUN] [--no-short-path]
                            [--version]

    optional arguments:
      -h, --help         show this help message and exit
      --root ROOT        Deprecated: use prefix instead.
      --prefix PREFIX    The installation directory.
      --branch BRANCH    The branch to install
      --verbose          The verbosity.
      --dry-run DRY_RUN  Configure the passed CraftSettings.ini and exit.
      --no-short-path    Skip short path setup
      --version          show program's version number and exit

doesn't provide information for such an option afaik.

experienced with v1.3-5775-g5c4193223

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list