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.

ralphlange added a commit to ralphlange/gtest that referenced this issue Jan 3, 2025
Fixes epics-modules#2:
- does not use makefile snippets
  (which were adding test execution to the build)
- tap file lists are created when running the tests
- 'tapfiles' target directly depends on test run
  in case tests have not been run yet
ralphlange added a commit to ralphlange/gtest that referenced this issue Jan 3, 2025
Fixes epics-modules#2:
- does not use makefile snippets
  (which were adding test execution to the build)
- tap file lists are created when running the tests
- 'tapfiles' target directly depends on test run
  in case tests have not been run yet
ralphlange added a commit to ralphlange/gtest that referenced this issue Jan 3, 2025
Fixes epics-modules#2:
- does not use makefile snippets
  (which were adding test execution to the build)
- tap file lists are created when running the tests
- 'tapfiles' target directly depends on test run
  in case tests have not been run yet
- dependency chain is undefined on platforms
  where tests can't run
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