Age | Commit message (Collapse) | Author |
|
Newer version of docker no longer have the /.dockerinit file present
when the container is executing, so that is no longer an option.
When executing in a container, we do know that we will be executing
as pid 1 -- this is probably not ever the case on the host system.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
On the host, some undesired things could end up happening if this
is executed, so we now exit and log if that is attempted. In addition,
we now backup the previous cargo config if present. This will never
be the case in the current build setup, but that could change if
we decide to do builds in a data volume in the future.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
For platforms where the host ${CC} is appropriate, use the default
implicitly rather than matching it explictly. This will allow for the
llvm linker to be used if/when that happens.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Based on code review feedback.
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
We already need to test cargo about gcc locations so it can perfom
linking -- we just parse this information out to tell rust where
gcc is for complation (nix-test compiles some C code for testing).
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
These scripts represent a rough first cust at adding support for
locally building nix and its tests for a large number of rust
versions and architectures. Currently, this mostly helps with
testing that nix compiles for various architectures (to the point that
there are a mound of problems that need to be addressed). Once these
are sorted, the code for actually running the tests for various
architectures will be approached (this will require qemu and will
still not target all architectures).
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|