Giter Site home page Giter Site logo

Comments (5)

pawelmoll avatar pawelmoll commented on May 23, 2024 1

If you're just using GitHub Actions than the matter is relatively simple - AArch64 runners "are coming". There's already a trial going on for larger, paying customers (https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/) so I'd hope it's just matter of time for them to become business as usual. I'll keep you updated.

from slang.

yanggeorge avatar yanggeorge commented on May 23, 2024
// SVInt.h or where the error occurs
// The constructor or function where std::bit_width(value) is called
bitWidth = (bitwidth_t)std::bit_width(static_cast<unsigned char>(value));

Explicit Type Casting: Before calling std::bit_width, you should cast the variable value of type char to unsigned char. This casting is safe and doesn't change the binary representation of the data, but ensures that the type matches the expected input for std::bit_width.

from slang.

MikePopoloski avatar MikePopoloski commented on May 23, 2024

I fixed the build in 3350030 but I have no way to check that the tests actually pass on AArch64 hardware.

from slang.

pawelmoll avatar pawelmoll commented on May 23, 2024

Thanks a lot for a very quick turnaround! :-)

The code now builds and tests pass all right:

$ git rev-parse HEAD
de7c88b833ed4af529d2557642374c10bd7205bd
$ uname -m
aarch64
$ ctest --output-on-failure
Test project /home/pawmol01/src/slang/build
    Start 1: unittests
1/6 Test #1: unittests ........................   Passed    0.75 sec
    Start 2: regression_delayed_reg
2/6 Test #2: regression_delayed_reg ...........   Passed    0.01 sec
    Start 3: regression_wire_module
3/6 Test #3: regression_wire_module ...........   Passed    0.01 sec
    Start 4: regression_all_file
4/6 Test #4: regression_all_file ..............   Passed    0.02 sec
    Start 5: netlist_unittests
5/6 Test #5: netlist_unittests ................   Passed    0.02 sec
    Start 6: tidy_unittests
6/6 Test #6: tidy_unittests ...................   Passed    0.02 sec

100% tests passed, 0 tests failed out of 6

Total Test time (real) =   0.83 sec
$

Also, let me know if you were willing to consider expanding your test infrastructure to cover AArch64 as well.

from slang.

MikePopoloski avatar MikePopoloski commented on May 23, 2024

I'm not against expanding testing to cover AArch64, but I don't think GitHub Actions provides such a runner for public repos? I don't have the time or expertise to figure it out and get it set up but if you wanted to contribute something I'd be happy to accept it.

from slang.

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.