Skip to content

[FEATURE] Enhance build_tools.sh #3059

Closed

Description

@dbaluta

Is your feature request related to a problem? Please describe.

  1. Add -h option to sof/scripts/build-tools.sh so that running ./scripts/build-tools.sh -h will call print_usage function.

  2. Refactor build-tools.sh options so that for example when called with "-f" the script will only build the fuzzer not all the toools

Describe alternatives you've considered
I don't really like when using "-f" with build-tools.sh to compile the topologies for example.

Additional context

build-tools.sh script can be found in ./scripts/build-tools.sh

Activity

  1. dbaluta commented on Jun 16, 2020

    @dbaluta
    CollaboratorAuthor

    Cc: @crazoes care to have a look at this task?

  2. paulstelian97 commented on Jun 16, 2020

    @paulstelian97
    Collaborator

    If you want -f to only build the tools, you will need a separate switch for building the topologies and I don't recall there being any. So you say one should be introduced for this as well?

  3. dbaluta commented on Jun 16, 2020

    @dbaluta
    CollaboratorAuthor

    @paulstelian97 Yes, that's true

  4. crazoes commented on Jun 17, 2020

    @crazoes
    Contributor

    Topologies are getting built as part of building tools which happen by default for building fuzzer and test topologies. Should only topology not be built? Should we skip building tools(probes, logger, ctl, topology, test) altogether if not specified by let's say -T?

  5. dbaluta commented on Jun 17, 2020

    @dbaluta
    CollaboratorAuthor

    @crazoes in my opinion script should compile everything without parameters and then add a parameter for each tool: (probes, logger, ctl, topology, test, fuzzer, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions