You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No cpuset_attributes are defined for arch "arm" and os "linux". This results in compilation errors when cross-compiling for triples like "arm-unknown-linux-gnueabihf" used by boards like the raspberry pi and beaglebone black.
I copied the cpuset_attribs from android and these worked for my use case.
Compiling nix v0.3.3
.../nix-0.3.3/src/sched.rs:94:25: 94:52 error: failed to resolve. Use of undeclared type or module `cpuset_attribs`
.../nix-0.3.3/src/sched.rs:94 cpu_mask: [CpuMask; cpuset_attribs::CPU_SETSIZE/cpuset_attribs::CPU_MASK_BITS]
The text was updated successfully, but these errors were encountered:
There isn't that great ARM support right now, mostly because it isn't hooked into CI. If you have a PR adding cpuset_attribs for ARM linux, I will pull it in. In the mean time, I opened up an issue for improving ARM support: #97.
posborne
added a commit
to posborne/nix-rust
that referenced
this issue
Apr 21, 2015
The limit of 32 cores may not actually be a limit with arm-linux, but
I am not aware of anything in excess of 32 processors out there currently
and this is what I have been running for awhile now on a beaglebone
black (`--target=arm-unknown-linux-gnueabihf`).
This change addresses nix-rust#95 and relates to nix-rust#97.
The limit of 32 cores may not actually be a limit with arm-linux, but
I am not aware of anything in excess of 32 processors out there currently
and this is what I have been running for awhile now on a beaglebone
black (`--target=arm-unknown-linux-gnueabihf`).
This change addresses #95 and relates to #97.
No cpuset_attributes are defined for arch "arm" and os "linux". This results in compilation errors when cross-compiling for triples like "arm-unknown-linux-gnueabihf" used by boards like the raspberry pi and beaglebone black.
I copied the cpuset_attribs from android and these worked for my use case.
The text was updated successfully, but these errors were encountered: