Skip to content

Missing inherited include directory when installing TTG #237

Description

@therault

I tried to compile and install ttg from a docker (barely minimal environment: base ubuntu + Open MPI, gcc, g++, HWLOC).
Things compile, and I could install in /usr, but when trying to compile an external project using TTG, I got the following error:

In file included from /usr/include/ttg/util/meta/callable.h:12,
                 from /usr/include/ttg/parsec/ttg.h:26,
                 from /usr/include/ttg.h:31,
                 from /home/tesse/tutorial/simple.cc:1:
/usr/include/ttg/external/boost/callable_traits.hpp:12:10: fatal error: boost/callable_traits/detail/core.hpp: No such file or directory
   12 | #include <boost/callable_traits/detail/core.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

boost/callabale_traits/details/core.hpp is located in /usr/include/ttg/external, but this directory is not added to the list of include directories for TTG targets. When I add it to the target_include_directories of the targets of my external project, things compile and work.

I will try to hunt where the missing include directories should be / what options it should use to expose that directory to the dependencies... I'm opening this issue to check if someone knows this right away :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions