Commit Graph

225 Commits

Author SHA1 Message Date
Jack May 4069ef2e02
Install xargo once (#4753) 2019-06-20 16:49:33 -07:00
Jack May ace98bba08
Upgrade BPF sysroot to v0.4 (#4754) 2019-06-20 16:41:49 -07:00
Jack May e59b53dfa8
BPF rust language updates (#4752) 2019-06-20 16:07:12 -07:00
Jack May b430762a23
check rust programs (#4688) 2019-06-20 07:43:31 -07:00
Jack May de3f7e9634
Update Rust program build script paths (#4707) 2019-06-17 14:24:00 -07:00
Jack May 2a7a9fdf03
Re-org SDK dir (#4690) 2019-06-17 11:04:38 -07:00
Jack May b78a13d42c
Nits (#4662) 2019-06-12 13:04:24 -07:00
Jack May 6dbba86cc6 Cleanup rust-utils (#4646)
automerge
2019-06-11 11:42:30 -07:00
Jack May 9f6496d38a Panic filename (#4625)
automerge
2019-06-10 11:00:15 -07:00
Jack May 1fa31c9410 .iter fixed, drop enumerate where not needed (#4624)
automerge
2019-06-10 10:19:58 -07:00
Jack May 66c41b3e8c Enable iter test (#4542)
automerge
2019-06-07 16:44:14 -07:00
Jack May 9a4c449135 Builtins (#4594)
automerge
2019-06-07 14:38:49 -07:00
Tyera Eulberg 64e8a21d73
Add tick height syscall (#4497)
* Remove tick_height from entrypoint signature

* Impl tick_height syscall and use in storage program

* Properly remove tick height from bpf handling
2019-05-31 16:29:21 -06:00
Michael Vines dd39b2b056
Revert --retry-on-http-error usage, Travis CI's wget doesn't recognize it 2019-05-27 19:35:04 -07:00
Michael Vines ed6a438c51
v0.16.0 2019-05-26 19:42:15 -07:00
Michael Vines 942785b626
sdk/bpf/scripts/install.sh: Retry downloads on transient 403 S3 failures seen in CI (#4436)
* Avoid caching perf-libs in CI

* Retry downloads on transient 403 S3 failures seen in CI
2019-05-25 14:41:09 -07:00
Tyera Eulberg 16b25d0874
Clone with https for Travis/repo with submodules (#4431) 2019-05-24 21:18:31 -04:00
Jack May bfa1c025fd
Add rust bpf allocator (#4426) 2019-05-24 16:21:42 -07:00
Jack May c121498b5b
Check that Rust project exists (#4393) 2019-05-22 15:09:59 -07:00
Jack May 2f7561e4ee
Split SDK's BPF Rust-utils (#4369) 2019-05-21 13:39:27 -07:00
Jack May 1cbd2372fc
Revert 4271 workaround (#4367)
* Revert "#4271 not reproducable, remove workaround (#4363)"

This reverts commit ef0580bd3d.

* Remove old comment
2019-05-21 11:53:53 -07:00
Jack May 28f948aa7f
Multi rust projects (#4362) 2019-05-21 11:22:33 -07:00
Jack May ef0580bd3d
#4271 not reproducable, remove workaround (#4363) 2019-05-20 23:45:09 -07:00
Jack May bc74ee7117
Common Rust-BPF utilities and types (#4325) 2019-05-17 11:04:29 -07:00
Jack May 359c50f1b3
cp -a includes -r (#4312) 2019-05-16 12:24:04 -07:00
Jack May 7d42ae30d9
Update Rust-BPF to 2018 Edition (#4307) 2019-05-16 09:12:33 -07:00
Jack May 2bef1b0433
Use rust-bpf-sysroot release branches (#4293) 2019-05-15 12:45:48 -07:00
Jack May 3204a00e73
Update rust-bpf-sysroot to latest (#4291) 2019-05-15 09:53:44 -07:00
Michael Vines 63aadc4905 Turn top-level Cargo.toml into a virtual manifest 2019-03-21 08:47:58 -07:00
Michael Vines e2d30db7e1 Rename tokens to lamports 2019-03-05 17:56:44 -08:00
Jack May 564057c812 Bump rust-bpf-sysroot to pull in liballoc 2019-02-28 17:25:28 -08:00
Jack May cf545e64b8 xargo requiress sysroot as source to build dependent crates 2019-02-28 00:49:06 -08:00
Jack May ac1e266588
Bump rust-bpf to pull in built-in target bpfel-unknown-unknown (#3001) 2019-02-28 00:26:50 -08:00
Jack May 9750488200
Update rust-bpf-sysroot to pull in latest core,stdsimd (#2972) 2019-02-26 19:55:28 -08:00
Jack May a8cd66ffa2
Pull Rust enabled LLVM (#2957) 2019-02-26 13:03:57 -08:00
Jack May 6a61f25735
Only install rust-bpf if rust-bpf version changes (#2939) 2019-02-25 19:09:16 -08:00
Jack May a2bf59cbba Ignore rust toolchain and sysroot 2019-02-25 16:40:35 -08:00
Jack May 329382f016
Pull BPF enabled rustc and sysroot into SDK (#2936) 2019-02-25 15:35:45 -08:00
Jack May 9abc500269
Fix BPF C tests and run as part of CI (#2540) 2019-01-24 12:15:37 -08:00
Jack May a0bc8b8af3
BPF programs can support up to 5 arguments (#2528) 2019-01-23 09:55:08 -08:00
Jack May ef8e5b40b6 Use dep files and restore tests 2019-01-14 23:41:07 -08:00
Jack May c2add08efb Move parameter to make flags variable 2019-01-14 20:12:06 -08:00
Jak May 23c43ed21b
Multi-file BPF C builds (#2393) 2019-01-11 15:33:21 -08:00
jackcmay a461c5682d
First stab at Rust BPF (#2269)
First stab at Rust BPF
2019-01-02 15:12:42 -08:00
jackcmay 7e3b54f826
Remove llc step when building BPF C programs (#2254) 2018-12-21 08:49:29 -08:00
jackcmay cefbb7c27d
Fix shared object relcations with multiple static arrays (#2121) 2018-12-12 08:41:45 -08:00
Michael Vines 54fb4e370c Abort make if scripts/install.sh fails 2018-12-11 21:57:53 -08:00
jackcmay 935524f20c
Fix eh frame relocation (#2109)
* Exclude .eh_frame
2018-12-11 12:14:41 -08:00
Jack May c57dedb034 Add missing ld.lld wrapper needed for shared objects linking 2018-12-11 09:56:20 -08:00
jackcmay e3dfd7b1ab
Allow BPF structure passing and returning (#2100)
* Add BPF struct passing and returning tests
2018-12-11 09:03:37 -08:00
Michael Vines 3cefa59a14 Remove stray tabs 2018-12-05 08:11:55 -08:00
jackcmay 0cb5ae41c6
Enable BPF shared objects (#2012)
* Switch to BPF ELF shared objects (.so)
2018-12-04 22:03:32 -08:00
Michael Vines 1fbbf13ec9
Dissuade DOCKER=1 usage 2018-12-02 23:15:43 -08:00
Michael Vines 3f9dc08984
Use docker system includes that now exist 2018-12-02 23:04:00 -08:00
Jack May 1ddf9960a6 Update to llvm 0.0.4 2018-12-02 21:30:57 -08:00
Michael Vines 9f45c0eb03 Set OS correctly 2018-12-02 21:11:56 -08:00
Michael Vines 67155861e5 generate.sh output 2018-12-02 21:11:56 -08:00
Michael Vines 5111255942 Map native filesystem to same location within docker 2018-12-02 21:11:56 -08:00
Michael Vines b405deb55a Always use llvm-native's include, as llvm-docker has no include 2018-12-02 21:11:56 -08:00
jackcmay e98ef7306d
Update LLVM (#1987)
Build for all targets, use bzip2
2018-12-02 14:33:07 -08:00
jackcmay 188904c318
Fix Docker paths after move (#1986) 2018-12-02 13:47:05 -08:00
Michael Vines 9594293804 Write versions in .. 2018-12-02 12:17:44 -08:00
Michael Vines 814801d321 Restore OS macro 2018-12-02 12:17:44 -08:00
Michael Vines 0896511b14 Echo install.sh output properly 2018-12-02 12:17:44 -08:00
Michael Vines 222b177745 Echo cxx instead of cc when building c++ source files 2018-12-02 12:17:44 -08:00
Michael Vines 4189a30b13
Check for version.md instead of README.md 2018-12-02 11:28:19 -08:00
Michael Vines f6f0a5d448
Store version info in version.md instead of README.md 2018-12-02 10:12:16 -08:00
Michael Vines 70312ed77f Package package.sh to avoid a special case 2018-12-01 12:37:57 -08:00
Michael Vines ee9255cb1d Avoid unnecessary llvm/ subdirectory 2018-12-01 12:37:57 -08:00
Michael Vines f045e19ddc Remove version info from llvm/criterion install directory 2018-12-01 12:37:57 -08:00
Michael Vines 3f1bececdf Update location of bpf sdk 2018-12-01 12:37:57 -08:00
Michael Vines e52f3f34a4 Autoinstall dependencies in the SDK itself 2018-12-01 10:47:59 -08:00
Michael Vines 27b617b340 Remove upstream LLVM install instructions as we now (temporarily) bundle a forked LLVM 2018-12-01 10:47:59 -08:00
Michael Vines 21a73d81ee grooming 2018-12-01 10:47:59 -08:00
Michael Vines 7c3e6e8e86 Move bpf-sdk to sdk/bpf 2018-12-01 10:47:59 -08:00