Commit Graph

47 Commits

Author SHA1 Message Date
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