Closed GabrielMajeri closed 6 years ago
The build system is broken since a long time. It is supposed to be about the same as the official one.
But, to my knowledge, the benchmarksgame is frozen, thus I didn't took any time to maintain this repository.
Seems that that's possible now: https://salsa.debian.org/benchmarksgame-team/benchmarksgame/issues/3
Maybe the first step is to change the build system in sync with Isaac.
@TeXitoi So basically we can now move every benchmark to its own Cargo.toml
?
I don't know, we have to ask to Isaac. But I'd prefer one project with a src/bin
with each program in it.
He wanted to use rustc directly, but he use cargo to build the libs, thus maybe we can convince him to use cargo for everything.
I removed num_cpus as it's better to test with the value of the bench machine.
The other solution is to use explicit --extern as here: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fasta-rust-3.html#log
When I try to build with Rust stable 1.28:
It seems that some recent update added
num_cpus
to the Rust sysroot, and it's conflicting with the one we build manually.