Comments (5)
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.
// 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.
I fixed the build in 3350030 but I have no way to check that the tests actually pass on AArch64 hardware.
from slang.
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.
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)
- Upload executables in releases HOT 1
- Assertion 'T::isKind(kind)' failed HOT 5
- Incorrect compilation errors with expressions like "=> ##[X]"
- The bit/part-select results should be unsigned. But not in slang v3.0. HOT 3
- slang does not accept DPI task calls without parentheses HOT 1
- Slang incorrectly claims that a parameter is recursively defined HOT 6
- Add unused import check HOT 1
- Function name used as variable causes error in VCS compatibility mode HOT 1
- Support for Comment-Based Warning Control HOT 2
- Compilation Errors with $countdrivers and Specify Block Conditions HOT 4
- Array with size from body parameter is <error> HOT 3
- --ast-json-depth <x> flag HOT 3
- -Wunused-but-set-net behavior for a wire connecting two inout ports together HOT 1
- slang-netlist assertion failure
- Defaultless parameters cause submodule port/param checks to be skipped HOT 1
- slang-tidy does not find functions from different files. HOT 3
- netlist handling of in multiple blocking assignments of same var in always_comb HOT 1
- [Struct]When translating stuct expression and the memberaccess kind, member symbol is the same while clang will give the different symbol. HOT 6
- uninstantiated generic classes should not include an invalid specialization in the AST HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slang.