Skip to content
Snippets Groups Projects
Commit b6a0641d authored by Luca Pizzamiglio's avatar Luca Pizzamiglio
Browse files

benchmarks/hyperfine: update to 1.12.0

While here, remove powerpc because already in upstream

Changelog: https://github.com/sharkdp/hyperfine/releases/tag/v1.12.0
parent db8c3b4a
No related branches found
No related tags found
No related merge requests found
PORTNAME= hyperfine
DISTVERSIONPREFIX= v
DISTVERSION= 1.11.0
PORTREVISION= 9
DISTVERSION= 1.12.0
PORTREVISION= 0
CATEGORIES= benchmarks
MAINTAINER= pizzamig@FreeBSD.org
......@@ -20,79 +20,94 @@ GH_ACCOUNT= sharkdp
PLIST_FILES= bin/hyperfine
CARGO_CRATES= ansi_term-0.11.0 \
approx-0.3.2 \
CARGO_CRATES= aho-corasick-0.7.18 \
ansi_term-0.11.0 \
approx-0.5.0 \
arrayvec-0.5.2 \
assert_cmd-2.0.2 \
atty-0.2.14 \
autocfg-0.1.7 \
autocfg-1.0.1 \
bitflags-1.2.1 \
bstr-0.2.13 \
byteorder-1.3.4 \
cfg-if-0.1.10 \
bitflags-1.3.2 \
bstr-0.2.17 \
cfg-if-1.0.0 \
clap-2.33.3 \
cloudabi-0.0.3 \
colored-2.0.0 \
console-0.12.0 \
csv-1.1.3 \
console-0.15.0 \
csv-1.1.6 \
csv-core-0.1.10 \
difflib-0.4.0 \
doc-comment-0.3.3 \
either-1.6.1 \
encode_unicode-0.3.6 \
float-cmp-0.9.0 \
fuchsia-cprng-0.1.1 \
getrandom-0.1.15 \
hermit-abi-0.1.17 \
indicatif-0.15.0 \
itoa-0.4.6 \
getrandom-0.2.3 \
hermit-abi-0.1.19 \
indicatif-0.16.2 \
itertools-0.10.1 \
itoa-0.4.8 \
lazy_static-1.4.0 \
libc-0.2.79 \
memchr-2.3.3 \
libc-0.2.104 \
memchr-2.4.1 \
normalize-line-endings-0.3.0 \
num-0.2.1 \
num-bigint-0.2.6 \
num-complex-0.2.4 \
num-integer-0.1.43 \
num-iter-0.1.41 \
num-integer-0.1.44 \
num-iter-0.1.42 \
num-rational-0.2.4 \
num-traits-0.2.12 \
number_prefix-0.3.0 \
ppv-lite86-0.2.9 \
proc-macro2-1.0.24 \
quote-1.0.7 \
num-traits-0.2.14 \
number_prefix-0.4.0 \
once_cell-1.8.0 \
ppv-lite86-0.2.14 \
predicates-2.0.3 \
predicates-core-1.0.2 \
predicates-tree-1.0.4 \
proc-macro2-1.0.30 \
quote-1.0.10 \
rand-0.6.5 \
rand-0.7.3 \
rand-0.8.4 \
rand_chacha-0.1.1 \
rand_chacha-0.2.2 \
rand_chacha-0.3.1 \
rand_core-0.3.1 \
rand_core-0.4.2 \
rand_core-0.5.1 \
rand_core-0.6.3 \
rand_hc-0.1.0 \
rand_hc-0.2.0 \
rand_hc-0.3.1 \
rand_isaac-0.1.1 \
rand_jitter-0.1.4 \
rand_os-0.1.3 \
rand_pcg-0.1.2 \
rand_xorshift-0.1.1 \
rdrand-0.4.0 \
regex-1.4.1 \
regex-automata-0.1.9 \
regex-syntax-0.6.20 \
rust_decimal-1.8.1 \
redox_syscall-0.2.10 \
regex-1.5.4 \
regex-automata-0.1.10 \
regex-syntax-0.6.25 \
remove_dir_all-0.5.3 \
rust_decimal-1.16.0 \
ryu-1.0.5 \
serde-1.0.117 \
serde_derive-1.0.117 \
serde_json-1.0.59 \
serde-1.0.130 \
serde_derive-1.0.130 \
serde_json-1.0.68 \
shell-words-1.0.0 \
statistical-1.0.0 \
strsim-0.8.0 \
syn-1.0.44 \
syn-1.0.80 \
tempfile-3.2.0 \
term_size-0.3.2 \
terminal_size-0.1.13 \
termios-0.3.3 \
terminal_size-0.1.17 \
termtree-0.2.1 \
textwrap-0.11.0 \
unicode-width-0.1.8 \
unicode-xid-0.2.1 \
unicode-width-0.1.9 \
unicode-xid-0.2.2 \
vec_map-0.8.2 \
version_check-0.9.2 \
wasi-0.9.0+wasi-snapshot-preview1 \
wait-timeout-0.2.0 \
wasi-0.10.2+wasi-snapshot-preview1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0
post-install:
......
This diff is collapsed.
--- cargo-crates/libc-0.2.79/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
+++ cargo-crates/libc-0.2.79/src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -1486,6 +1486,9 @@ cfg_if! {
} else if #[cfg(target_arch = "powerpc64")] {
mod powerpc64;
pub use self::powerpc64::*;
+ } else if #[cfg(target_arch = "powerpc")] {
+ mod powerpc;
+ pub use self::powerpc::*;
} else {
// Unknown target_arch
}
--- cargo-crates/libc-0.2.79/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
+++ cargo-crates/libc-0.2.79/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
@@ -0,0 +1,47 @@
+pub type c_char = u8;
+pub type c_long = i32;
+pub type c_ulong = u32;
+pub type wchar_t = i32;
+pub type time_t = i64;
+pub type suseconds_t = i32;
+pub type register_t = i32;
+
+s! {
+ pub struct stat {
+ pub st_dev: ::dev_t,
+ pub st_ino: ::ino_t,
+ pub st_mode: ::mode_t,
+ pub st_nlink: ::nlink_t,
+ pub st_uid: ::uid_t,
+ pub st_gid: ::gid_t,
+ pub st_rdev: ::dev_t,
+ pub st_atime: ::time_t,
+ pub st_atime_nsec: ::c_long,
+ pub st_mtime: ::time_t,
+ pub st_mtime_nsec: ::c_long,
+ pub st_ctime: ::time_t,
+ pub st_ctime_nsec: ::c_long,
+ pub st_size: ::off_t,
+ pub st_blocks: ::blkcnt_t,
+ pub st_blksize: ::blksize_t,
+ pub st_flags: ::fflags_t,
+ pub st_gen: u32,
+ pub st_lspare: i32,
+ pub st_birthtime: ::time_t,
+ pub st_birthtime_nsec: ::c_long,
+ }
+}
+
+// should be pub(crate), but that requires Rust 1.18.0
+cfg_if! {
+ if #[cfg(libc_const_size_of)] {
+ #[doc(hidden)]
+ pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_int>() - 1;
+ } else {
+ #[doc(hidden)]
+ pub const _ALIGNBYTES: usize = 4 - 1;
+ }
+}
+
+pub const MAP_32BIT: ::c_int = 0x00080000;
+pub const MINSIGSTKSZ: ::size_t = 2048; // 512 * 4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment