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

gsample3.make: No such file or directory #2

Open
mdavidsaver opened this issue Jan 17, 2023 · 2 comments
Open

gsample3.make: No such file or directory #2

mdavidsaver opened this issue Jan 17, 2023 · 2 comments

Comments

@mdavidsaver
Copy link

The rule for %.list needs to run a target executable on all targets. This isn't possible with eg. a mingw cross build.

Attempting to do so ends with a somewhat confusing error:

../../../cfg/RULES_GTEST:45: gsample3.make: No such file or directory
@mdavidsaver
Copy link
Author

One workaround (imo. unsatisfactory) is to disable building for cross targets:

echo 'CROSS_COMPILER_TARGET_ARCHS=' >> configure/CONFIG_SITE.local

Could the %.list rule be tied into the runtests make target instead of install?

@ralphlange
Copy link
Member

Hm.
I see your point.

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

No branches or pull requests

2 participants