Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make unit tests build on Ubuntu 20 #88

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jll63
Copy link
Collaborator

@jll63 jll63 commented Aug 17, 2023

Describe your changes
Unit tests don't build on Ubuntu 20.

Testing performed
Build and run the tests.

Additional context
Problem was caused by an incorrect benchmark.pc file. Applied a work around that works on Ubuntu 22 as well.

Signed-off-by: Jean-Louis Leroy <jleroy9@bloomberg.net>
Signed-off-by: Jean-Louis Leroy <jleroy9@bloomberg.net>
@jll63 jll63 requested a review from a team as a code owner August 17, 2023 19:20
@jll63 jll63 requested a review from hallfox August 17, 2023 19:22
@jll63 jll63 changed the title Ut ubuntu 20 Make unit tests work on Ubuntu 20 Aug 17, 2023
@jll63 jll63 changed the title Make unit tests work on Ubuntu 20 Make unit tests build on Ubuntu 20 Aug 17, 2023
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DFLEX_ROOT=/usr/lib/x86_64-linux-gnu"
-DFLEX_ROOT=/usr/lib/x86_64-linux-gnu \
-Dlibbenchmark=/usr/lib/x86_64-linux-gnu/libbenchmark.so"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how I feel about putting this workaround in this script. Can we flags this as either something that we set as a purely Ubuntu 20 workaround or instead grab it from find_package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants