Skip to content

Installation Issues #238

Closed
Closed

Description

@didahalpha

Hello,
Some of us aren't as savy on how everything is to be installed, so I am running into an issue trying to get this installed, so I can eventually get Volk installed, where I will then install GnuRadio, on RHEL 7.
As for this one, can you please provide the instructions on how to compile this code?

I tried, within the build directory that I created in the unzipped folder of this download:

cmake3 ..
And got this:
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/gnuradio-maint-3.8/cpu_features-main/build/googletest-download
[ 11%] Performing update step for 'googletest'
Current branch main is up to date.
[ 22%] No configure step for 'googletest'
[ 33%] No build step for 'googletest'
[ 44%] No install step for 'googletest'
[ 55%] No test step for 'googletest'
[ 66%] Completed 'googletest'
[100%] Built target googletest
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/gnuradio-maint-3.8/cpu_features-main/build

Could you please tell me what I'm missing? :-)
Thanks a bunch,

Brad

Activity

  1. gchatelet commented on Apr 27, 2022

    @gchatelet
    Collaborator

    @Mizux to update README.md with installation instructions.

  2. Mizux commented on Apr 27, 2022

    @Mizux
    Collaborator

    On my way to fix the doc !

    Otherwise you can look at our docker based CI to figure the needed cmds...
    here you call cmake3 ... which only run the "configure" step (cmake is a GENERATOR build system), you also need the "build" step and the "install" step.

    Basically

    RUN cmake -S. -Bbuild
    RUN cmake --build build --target all -v
    RUN cmake --build build --target install -v

    note:on linux with the default generator (Makefile) will install everything in /usr/local BUT you can also use DESTDIR to avoid to pollute your host machine by using this cli instead.
    cmake3 --build build --target install -v -- DESTDIR=install

    then to consume it in a CMake project you can take a look at https://github.com/google/cpu_features/tree/main/cmake/ci/sample

  3. added
    help wanted
    cmake
    on Apr 27, 2022
  4. added this to the v0.8.0 milestone on Apr 27, 2022
  5. added a commit that references this issue on Feb 18, 2024
    0bf4ea0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cmakehelp wanted

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions