Commit Graph

22 Commits

Author SHA1 Message Date
Michael Vines
45b9a7f8e9 shell 2018-11-01 14:40:21 -07:00
Michael Vines
6b777b066a Find clang 7 better
If LLVM_DIR is defined, use it to locate clang.  Otherwise use brew on
macOS, and assume clang-7 otherwise
2018-11-01 09:48:38 -07:00
Michael Vines
1e01088698 Improve clang install info for Linux 2018-11-01 09:48:38 -07:00
Michael Vines
3ea0651078 Rename sol_bpf.h to solana_sdk.h 2018-10-31 23:46:34 -07:00
Michael Vines
776b1c2294 sol_bpf.h improvements
- Define NULL
- Add sol_memcmp()
- Use sizeof() more
- Add SOL_ARRAY_SIZE
- Make sol_deserialize() more flexible
2018-10-31 23:46:34 -07:00
Michael Vines
5ecb9da801 Fix up bpf numeric types 2018-10-31 20:53:44 -07:00
jackcmay
aca2f9666d Fix deps (#1672) 2018-10-31 10:12:17 -07:00
Michael Vines
b74e085538 SYSTEM_INC_DIRS needs immediate expansion 2018-10-31 07:20:09 -07:00
Jack May
899de2ff56 Revert inclusion change, fix doc 2018-10-31 07:03:38 -07:00
Jack May
cf521a5bd2 Fix const 2018-10-31 07:03:38 -07:00
Jack May
bc13248e1c Fix C programs 2018-10-31 07:03:38 -07:00
Michael Vines
45bb97cad6 Permit {INC,LLVM,OUT,SRC,SYSTEM_INC}_DIRs to be overridden 2018-10-30 07:59:07 -07:00
Michael Vines
6f5e92e5b3 README updates 2018-10-29 20:52:38 -07:00
Michael Vines
cce5c70f29 LD -> LLC 2018-10-29 20:52:38 -07:00
Michael Vines
4af7c82ef0 Add extern "C" block 2018-10-29 20:52:38 -07:00
Michael Vines
52e5fb7e0c Use #pragma once, it's widely supported
Fix up some spelling too
2018-10-29 20:52:38 -07:00
Michael Vines
a013e8ceb1 Rename sol_bpf_c.h to sol_bpf.h 2018-10-29 20:52:38 -07:00
Michael Vines
864632b582 slight reformatting 2018-10-29 20:52:38 -07:00
Michael Vines
71d6eaacef Apply some const 2018-10-29 20:52:38 -07:00
Michael Vines
4aba05d749 Include system includes in .d, remove unneeded tabs 2018-10-29 20:52:38 -07:00
Michael Vines
7d335165ec Tune make output 2018-10-29 19:32:47 -07:00
Michael Vines
37213209c5 Create programs/bpf/c/sdk/ 2018-10-29 19:10:29 -07:00