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

Unable to build cppflow (development branch) #363

Open
krishnakumarg1984 opened this issue Jun 21, 2023 · 1 comment
Open

Unable to build cppflow (development branch) #363

krishnakumarg1984 opened this issue Jun 21, 2023 · 1 comment
Assignees

Comments

@krishnakumarg1984
Copy link
Collaborator

When trying to build the project (at development branch current HEAD) with cppflow enabled as follows:

$ mkdir build && cd build
$ conan install .. --build missing -pr:h=default -pr:b=default -o cppflow=on 
$ conan build ..

we get the following error:

cppflow/2.0.0: Not found in local cache, looking in remotes...
cppflow/2.0.0: Trying with 'conancenter'...
ERROR: Failed requirement 'cppflow/2.0.0' from 'conanfile.py (sopt/4.0.0)'
ERROR: Unable to find 'cppflow/2.0.0' in remotes
@tkoskela
Copy link
Contributor

tkoskela commented Jun 22, 2023

You have to build the cppflow package manually for now, I'm afraid. The steps to do that are in the README, or in

- name: Checkout cppflow repo
uses: actions/checkout@v3
with:
repository: UCL/cppflow.git
path: cppflow
ref: master
- name: Create cppflow package on gcc
if: ${{ contains(matrix.cxx, 'g++-10') }}
run: |
conan create ./cppflow/ -pr:h=default -pr:b=default -s compiler.libcxx=libstdc++11

It would be great if this could be automated, or if we had a private conan repo to download it from. This is on the TODO list 😅 astro-informatics/purify#305

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

No branches or pull requests

4 participants