Git Product home page Git Product logo

Comments (8)

rtmvc avatar rtmvc commented on July 17, 2024

I guess you are using the master version of Dinghy? Could you give a try to the latest version, that we are currently working on to see if it works better for you?
You can install it with the following command 'cargo install --force --git 'https://github.com/snipsco/dinghy.git' --branch 0.3'
Beware that configuration might change a little bit and that ndk is not directly supported anymore (they are replaced with standalone toolchains instead).

from dinghy.

pitdicker avatar pitdicker commented on July 17, 2024

Thank you for the quick reply.

I have installed the latest version of Dinghy, build a standalone toolchain and created dinghy.toml and .cargo/config files to point to the toolchain and linker. (That took care of the error "Couldn't find toolchain directory).

But somehow all tests are now run locally, not on my phone. Have I missed a piece of the configuration?

[pitdicker@localhost rand]$ adb devices
List of devices attached
ZY2239VRK2	device

[pitdicker@localhost rand]$ cargo dinghy devices
List of available devices for platform 'host':
Host { }

from dinghy.

rtmvc avatar rtmvc commented on July 17, 2024

Dinghy also builds on host now by default. Just add --platform <your platform name> between cargo dinghy and build test or bench.

For example if you have the following in your ~/.dinghy/dinghy.toml (as explained in the Readme):

[platforms.android-armv7]
rustc_triple="armv7-linux-androideabi"
toolchain="<path to your armv7-linux-androideabi standalone toolchain>"

Then you can call cargo dinghy --platform android-armv7 build

from dinghy.

pitdicker avatar pitdicker commented on July 17, 2024

I had to install the latest version of adb instead of the one that came with Fedora because --sync was not working. The tests now run again!

But benchmarks still only give ok as result instead of measurements...

cargo dinghy --platform android-armv7 bench

from dinghy.

kali avatar kali commented on July 17, 2024

Hi, thanks for the report, we have pushed a fix on the 0.3 branch. Feel free to try it :)

from dinghy.

pitdicker avatar pitdicker commented on July 17, 2024

Thanks for the fix! But I don't have luck with it yet, the benchmarks still only print ok... Is there any information I can give to help?

from dinghy.

kali avatar kali commented on July 17, 2024

Indeed, I fixed ssh and not android. Sorry. Just pushed again :)

from dinghy.

pitdicker avatar pitdicker commented on July 17, 2024

It works, thank you very much!

from dinghy.

Related Issues (20)

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.