Git Product home page Git Product logo

Comments (5)

paul0noah avatar paul0noah commented on September 25, 2024 1

In issue #13 (#13) i describe how you can solve it. Basically you need to

  1. navigate with terminal to <bdd_root>/external/thrust/dependencies/cub/
  2. Inside the folder of step 1) do $ git checkout main and git pull
  3. try building the project once again :)

I think the error is exactly what you describe and might come from that "cub" project switched branch names from master to main.

Whenever you will re-invoke in <bdd_root> the command git submodule update --remote --recursive --init you'll likely have to follow my "solution" again :)

from bdd.

pawelswoboda avatar pawelswoboda commented on September 25, 2024

Have you followed the instructions to install the solver, in particular have you exactly typed git submodule update --remote --recursive --init? Please try this out on a fresh checkout of the repo.

from bdd.

hnisonoff avatar hnisonoff commented on September 25, 2024

When I run that command in a new checkout I get the following:

 git submodule update --remote --recursive --init
Submodule 'external/CLI11' (https://github.com/CLIUtils/CLI11.git) registered for path 'external/CLI11'
Submodule 'external/Eigen' (https://gitlab.com/libeigen/eigen.git) registered for path 'external/Eigen'
Submodule 'external/LBDD' (https://github.com/pawelswoboda/LBDD.git) registered for path 'external/LBDD'
Submodule 'external/PEGTL' (https://github.com/taocpp/PEGTL.git) registered for path 'external/PEGTL'
Submodule 'external/cereal' (https://github.com/USCiLab/cereal.git) registered for path 'external/cereal'
Submodule 'external/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'external/pybind11'
Submodule 'external/thrust' (https://github.com/NVIDIA/thrust.git) registered for path 'external/thrust'
Submodule 'external/tsl-robin-map' (https://github.com/Tessil/robin-map.git) registered for path 'external/tsl-robin-map'
Submodule 'external/vectorclass' (https://github.com/vectorclass/version2.git) registered for path 'external/vectorclass'
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/CLI11'...
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/Eigen'...
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/LBDD'...
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/PEGTL'...
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/cereal'...
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/pybind11'...
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/thrust'...
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/tsl-robin-map'...
Cloning into '/storage/hunter_nisonoff/projects/recombination/ilp/BDD/external/vectorclass'...
fatal: Needed a single revision
Unable to find current origin/master revision in submodule path 'external/CLI11'

All of the directories in external are also empty.

from bdd.

hnisonoff avatar hnisonoff commented on September 25, 2024

It looks like part of the reason the command failed is because the .gitmodule file had to be edited to point to the "main" branch rather than the default "master" which doesn't exist for some repos. I was still unable to make progress though.

from bdd.

aabbas90 avatar aabbas90 commented on September 25, 2024

Thanks to @paul0noah the issue should now be fixed. Please reopen if it is not.

from bdd.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.