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

HPX fails to configure with -DHPX_WITH_TESTS=OFF #3879

Closed
khuck opened this issue May 30, 2019 · 0 comments · Fixed by #3897
Closed

HPX fails to configure with -DHPX_WITH_TESTS=OFF #3879

khuck opened this issue May 30, 2019 · 0 comments · Fixed by #3897

Comments

@khuck
Copy link
Contributor

khuck commented May 30, 2019

Expected Behavior

When configuring HPX for Phylanx builds, I disable the HPX tests with the -DHPX_WITH_TESTS=OFF flag. That causes cmake to fail.

Actual Behavior

CMake fails with several errors like:

CMake Error at cmake/HPX_AddPseudoDependencies.cmake:28 (add_dependencies):
  Cannot add target-level dependencies to non-existent target
  "tests.examples".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.
Call Stack (most recent call first):
  libs/cache/examples/CMakeLists.txt:8 (add_hpx_pseudo_dependencies)

Steps to Reproduce the Problem

  1. cmake ... -DHPX_WITH_TESTS=OFF ...

Specifications

... Please describe your environment

  • HPX Version: master, "stable" tag
  • Platform (compiler, OS): linux, gcc 7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants