Bug 396030 - Add option to specify compiler on command line to CraftBootstrap.py
Summary: Add option to specify compiler on command line to CraftBootstrap.py
Status: RESOLVED WORKSFORME
Alias: None
Product: Craft
Classification: Developer tools
Component: Core (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-30 20:04 UTC by krichter
Modified: 2022-12-26 05:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description krichter 2018-06-30 20:04:57 UTC
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
Comment 1 Justin Zobel 2022-11-26 00:14:01 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-12-11 05:07:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-26 05:21:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!