8 Commits

Author SHA1 Message Date
Mike Hommey 24ab1846ab Add armv7 assembly for cc-test (#629) 2021-11-11 09:05:38 -06:00
Andy Polyakov c7c1ec636e Improve CUDA support (#612)
* Perform CUDA --device-link.

This allows to perform the final link with system linker.

* Add 'cudart' method mimicking the '--cudart' nvcc command-line option.

Try to locate the library in standard location relative to nvcc command.
If it fails, user is held responsible for specifying one in RUSTFLAGS.

* Add dummy CUDA test to cc-test.

Execution is bound to fail without card, but the failure is ignored.
It's rather a compile-n-link test. The test is suppressed if 'nvcc'
is not found on the $PATH.

* Add dummy CUDA CI test.

* Harmonize CUDA support with NVCC default --cudart static.

This can interfere with current deployments in the wild, in which
case some adjustments might be required. Most notably one might
have to add .cuda("none") to the corresponding Builder instantiation
to restore the original behaviour.
2021-08-02 10:45:29 -05:00
Makoto Kato 9c0731b2f1 Use riscv64-unknown-linux-gnu for target on clang. (#608) 2021-06-09 10:05:26 -05:00
Arlo Siemsen da9271a78b Add the host architecture Windows 10 SDK bin directory to the PATH, not the target. (#524)
Fixes failures during cross-compilation when the host cannot execute the target architecture
Windows 10 SDK tools.

Also adds the target tools bin to the PATH before the host_dylib_path is added. This ensures that if
a target-specific version of a tool is available, it is preferred.
2020-07-02 09:10:51 -05:00
Alex Crichton abd503214e Update to the 2018 edition 2019-09-05 11:04:55 -05:00
Mathieu Poumeyrol 8daac8be94 add aarch64 test build 2018-03-16 10:27:16 +01:00
Alex Crichton 83cfc67436 Run cargo fmt
Also add a builder to CI to ensure we're styled right!
2018-03-14 11:23:14 -07:00
Alex Crichton f616967984 Fix tests from rename 2017-09-19 10:50:43 -07:00