Skip to content

Put cling pragma for loading fftw3 in headers #25

Description

@egpbos

As in https://github.com/QuantStack/xtensor-io/blob/a57e3b90ca1025a180c5813c56b8a344ec2d8165/include/xtensor-io/xaudio.hpp#L20-L21, we can put the library loading step in the headers themselves, which saves cling/notebook users from doing it.

Activity

  1. egpbos commented on Dec 7, 2017

    @egpbos
    MemberAuthor

    Also put this in CMakeLists.txt and in xtensor-fftw_config.hpp:

    https://github.com/QuantStack/xtensor-io/blob/a57e3b90ca1025a180c5813c56b8a344ec2d8165/CMakeLists.txt#L18

    This makes sure the library paths get properly added. Right now, the notebooks are already working, because I'm loading xtensor-io, which also sets all this stuff. Without xtensor-io and without the cling pragma, fftw calls would fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions