Commit Graph

240 Commits

Author SHA1 Message Date
Adam C. Foltzer
e94fffc309
replace deprecated string functions in style script 2019-06-27 10:57:07 -07:00
gnzlbg
516f3efcc9 update emscripten 2019-05-28 16:01:26 +02:00
gnzlbg
1a3d1525da [breaking change] sendmmsg/recvmmsg flag argument is an unsigned integer on MUSL 2019-05-28 10:09:43 +02:00
gnzlbg
2543b7c8ed bump kernel headers to 4.4.2-2 2019-05-27 22:23:02 +02:00
gnzlbg
8f403e5ac2 Update MUSL Linux kernel headers and re-enable Linux tests 2019-05-27 22:23:02 +02:00
gnzlbg
1059e0bd85
Merge pull request #1346 from gnzlbg/simplify_freebsd
Clean up libc-test/build.rs for FreeBSD and enable testing FreeBSD12 on CI
2019-05-26 18:56:03 +02:00
bors
6d4c60d70b Auto merge of #1358 - pkubaj:patch-1, r=gnzlbg
Add powerpc64-unknown-freebsd target

Per https://github.com/rust-lang-nursery/stdsimd/pull/765 add powerpc64-unknown-freebsd to prevent further breakages.
2019-05-25 19:11:36 +00:00
gnzlbg
06561d98f4 Temporarily disable x86_64-sun-solaris 2019-05-25 14:18:25 +02:00
gnzlbg
c5a53155f7 Temporarily disable sparcv9-sun-solaris 2019-05-25 13:04:24 +02:00
pkubaj
49271b7a7e
Move aarch64 and powerpc64 targets for FreeBSD
Move to LINUX_NO_CORE_TARGETS per gznlbg's suggestion.
2019-05-25 00:41:35 +02:00
pkubaj
8c2e02dc0d
Move aarch64 and powerpc64 targets for FreeBSD
Move to RUST_NIGHTLY_LINUX_TARGETS per gznlbg's suggestion.
2019-05-24 21:12:20 +02:00
gnzlbg
7437d0a6f1 Add a FreeBSD 12 build job and test FreeBSD12 APIs
This commits adds a second FreeBSD 12 build job,
and splits the implementation of the FreeBSD module
into two modules, one for FreeBSD 11, and one for FreeBSD 12.

The FreeBSD 11 module is compiled always by default, and is
mostly forward compatible with FreeBSD 12 systems.

The FreeBSD 12 module is only built for now in libc's CI,
and uses FreeBSD 12 data types and APIs, linking to symbols
that are only available in FreeBSD 12.

Basically, when LIBC_CI env variable is defined, and the host
system is a FreeBSD 12 system, then the FreeBSD 12 module is
automatically built and tested. Conditional compilation is done
using a `cfg(freebsd12)` flag.

This commit also re-enables many tests, and documents why
some remain disabled.
2019-05-24 20:04:17 +02:00
gnzlbg
70c9a98c1c Run CMSG tests on s390x
Closes #1240.
2019-05-24 14:13:43 +02:00
gnzlbg
ea31f5aeb5 Increase retries of Android downloads 2019-05-23 19:10:58 +02:00
gnzlbg
eb0794a5d8 Update Android SDK, NDK (r19c), and API versions (arm:24,x86:28)
* Update Android NDK to version r19c
* Update Android API versions to:
  * API 24 on arm and aarch64 targets
  * API 28 on x86 and x86_64 targets
* Unified headers were removed in NDK 16
* Refactor the NDK and SDK installation scripts
* OpenJDK version 8 must be kept: it appears that
  the Android tools do not work with more modern OpenJDK
  versions.
2019-05-23 16:18:43 +02:00
pkubaj
3335a02019
Add aarch64-unknown-freebsd to CI 2019-05-23 14:12:48 +02:00
pkubaj
8d3175c185
Add powerpc64-unknown-freebsd target
Per https://github.com/rust-lang-nursery/stdsimd/pull/765 add powerpc64-unknown-freebsd to prevent further breakages.
2019-05-23 13:39:27 +02:00
bors
bf85aa6dfc Auto merge of #1340 - ibabushkin:mmap_flags, r=gnzlbg
Added MAP_FIXED_NOREPLACE and MAP_SHARED_VALIDATE consts.

This addresses #1339 and #1315. I believe the location of the constants is correct as-is, as both flags are linux-specific additions. Let me know if I missed anything.
2019-05-21 18:53:49 +00:00
Inokentiy Babushkin
6a97d64e02
Revert "An attempt to use upstream musl on mips."
This reverts commit 1a1b170a02.
2019-05-21 13:37:31 +02:00
Inokentiy Babushkin
3835253fc8
Revert "Fixed a typo in mips docker file."
This reverts commit 7b171fb15a.
2019-05-21 13:37:19 +02:00
Inokentiy Babushkin
7b171fb15a
Fixed a typo in mips docker file. 2019-05-20 16:55:08 +02:00
Inokentiy Babushkin
1a1b170a02
An attempt to use upstream musl on mips. 2019-05-19 16:53:59 +02:00
Inokentiy Babushkin
9f1db17852
Updated most musl versions in CI docker setup. 2019-05-19 14:12:33 +02:00
bors
8b14a7e95b Auto merge of #1335 - leo60228:patch-1, r=gnzlbg
Improve newlib constants

This is necessary to set socket options on the Nintendo Switch, which uses a socket implementation directly ported from FreeBSD. Reopened from #1334 because I accidentally closed that.
2019-05-16 11:19:32 +00:00
gnzlbg
5a0e37ec37 Add wasm32-wasi to ci/build.sh 2019-05-16 11:03:45 +02:00
gnzlbg
77a4683aa1 Remove bitrig support
See https://github.com/rust-lang/rust/pull/60775 .
2019-05-16 11:03:45 +02:00
gnzlbg
3ac67ebcf7 Rename wasm32-unknown-wasi to wasm32-wasi 2019-05-16 11:03:04 +02:00
gnzlbg
3ac111c8d0 Try to fix builds of the Android SDK 2019-05-16 09:15:12 +02:00
gnzlbg
9df115b67f Update Ubuntu images to 19.04 2019-05-16 09:15:12 +02:00
gnzlbg
0ae84518fe Update Debian image used in s390x build job 2019-05-16 09:15:12 +02:00
gnzlbg
57e1e84dce Update Debian image used in sparc64 build job to Debian 10.0 2019-05-16 09:15:12 +02:00
gnzlbg
4c938e5b4b Move sparc64 Docker image to Ubuntu 2019-05-16 09:15:12 +02:00
gnzlbg
9212a9cf14 Update openjdk to version 11 in Docker containers 2019-05-16 09:15:12 +02:00
gnzlbg
18bf94c6eb Update all remaining targets to Ubuntu 18.04 2019-05-14 12:00:45 +02:00
gnzlbg
89a3d03aa7 Update Android Docker images Ubuntu version 2019-05-14 10:06:45 +02:00
leo60228
a92266b0fe Build Switch on CI 2019-05-10 10:28:18 -04:00
Dan Gohman
8a5b230c14 Update to the latest wasi-sysroot.
This contains several fixes, including the FD_ISSET signature change
that the previous patch in this PR needs.
2019-04-23 21:01:39 -07:00
Alex Gaynor
55189f6aa6
Remove duplicate target from ci/build.sh
I'm almost certain this is not intentional
2019-04-14 15:54:13 -04:00
Alex Crichton
cc0310146e Add binding for new __wasilibc_find_relpath API
Added recently and will be used in libstd!
2019-04-08 07:56:47 -07:00
Alex Crichton
3f1e8b9c45 Enable the wasi target on CI
Now that wasi is in nightlies, we can run it on PRs!
2019-04-05 08:03:03 -07:00
Alex Crichton
bce4454566 Touch up style of wasi.rs 2019-03-27 13:29:18 -07:00
Alex Crichton
8662b47b27 Address some PR feedback 2019-03-27 11:21:44 -07:00
Alex Crichton
87def1fb80 Add intiial support for wasm32-unknown-wasi
This target is [being proposed][LINK] int he rust-lang/rust repository
and this is intended to get coupled with that proposal. The definitions
here all match the upstream reference-sysroot definitions and the
functions all match the reference sysroot as well. The linkage here is
described more in detail on the Rust PR itself, but in general it's
similar to musl.

Automatic verification has been implemented in the same manner as other
targets, and it's been used locally to develop this PR and catch errors
in the bindings already written (also to help match the evolving sysroot
of wasi). The verification isn't hooked up to CI yet though because
there is no wasi target distributed via rustup just yet, but once that's
done I'll file a follow-up PR to execute verification on CI.

[LINK]:
2019-03-27 09:24:48 -07:00
bors
750a7a61b4 Auto merge of #1297 - mati865:docker-images-working, r=gnzlbg
Upgrade bunch of EOL docker images to Ubuntu 18.04

When upgrading other Dockerfiles (not modified in this PR) they fail with different errors:
https://travis-ci.com/mati865/libc/jobs/181623075
https://travis-ci.com/mati865/libc/jobs/181623059
https://travis-ci.com/mati865/libc/jobs/181623067

I think it's because of these 2 commits in glibc:
https://sourceware.org/git/?p=glibc.git;a=commit;h=b05cb613e7ae507680c8d914b3e788eea782c0d6
https://sourceware.org/git/?p=glibc.git;a=commit;h=2dba5ce7b8115d6a2789bf279892263621088e74

I have no idea how to fix them so leaving it for somebody who knows what to do.
2019-03-03 22:18:11 +00:00
gnzlbg
278c56553e Check that more targets build 2019-03-03 18:44:21 +01:00
Mateusz Mikuła
481a521178 Upgrade bunch of EOL docker images to Ubuntu 18.04 2019-03-03 18:43:25 +01:00
Stefan Lankes
682b8af286 add target "hermit" to build.sh 2019-03-03 00:39:31 +01:00
gnzlbg
45c7930318 Test semver for all normal targets 2019-02-26 16:45:06 +01:00
gnzlbg
dda85056bf Fix broken links in README 2019-02-21 10:18:06 +01:00
gnzlbg
cd49efc997 Fix typo in README; do not generate .nojekyll file in gh-pages branch 2019-02-21 08:46:25 +01:00