Sameer Rahmani
a9a8bb9fde
Update the readme to include the correct llvm version
2022-06-28 22:24:35 +01:00
Sameer Rahmani
ebec2562bf
Add basic types and the storage for them on the jit engine
2022-06-19 13:17:58 +01:00
Sameer Rahmani
a90c61b6ff
Clean up the main cmake file
2022-06-18 11:11:08 +01:00
Sameer Rahmani
055df07ab9
Add LLVM_USE_PERF option to account for the same flag in target llvm
2022-06-18 11:05:54 +01:00
Sameer Rahmani
31cbbb9f71
Add debug info to the ARM build
2022-06-18 10:52:17 +01:00
Sameer Rahmani
9b5de91861
Add debug info to the ARM build
2022-06-18 10:49:39 +01:00
Sameer Rahmani
fb7097565d
Try to conditional link the pref lib
2022-06-18 10:47:32 +01:00
Sameer Rahmani
b1858524e1
Set LLVM_USE_PERF to 0 on hally.cpp as a hacky fix for llvm's apt bug on ARM
2022-06-18 10:42:07 +01:00
Sameer Rahmani
114d60999d
Temporary debug statements for 'LLVM_USE_PERF' on arm
2022-06-18 10:35:02 +01:00
Sameer Rahmani
d0dc85e8f9
Use LLVM_USE_PERF to detect presence of createPerfJITEventListener
2022-06-17 08:44:03 +01:00
Sameer Rahmani
cd84454f1a
Add ExecutionEngine to the list of dependencies
2022-06-16 15:25:26 +01:00
Sameer Rahmani
703c0fdc96
Try LLVM_TARGETS_TO_BUILD var to cover all the targets
2022-06-16 15:17:54 +01:00
Sameer Rahmani
c4cf536820
Replcing arch dependant targets with arch target themselves
2022-06-16 15:14:33 +01:00
Sameer Rahmani
85621103c1
Revert back to llvm's way for debugging purposes
2022-06-16 15:02:03 +01:00
Sameer Rahmani
4260aef3ce
Temporarily point to specific version of llvm-config
2022-06-16 14:40:29 +01:00
Sameer Rahmani
6daab9a3e6
replace llvm's way of components resolution with a custom approach
2022-06-16 14:33:24 +01:00
Sameer Rahmani
7cb8884bde
Iterate through llvm targets and append the components in cmake
2022-06-16 10:39:29 +01:00
Sameer Rahmani
266f16079f
Move the llvm components to the main cmake file
2022-06-15 23:13:49 +01:00
Sameer Rahmani
64f0b31b81
Remove direct dependencies from libserene
2022-06-15 22:42:31 +01:00
Sameer Rahmani
4a23fe4e39
Add support for AArch64 in a dumb way
2022-06-15 12:21:20 +01:00
Sameer Rahmani
b71701a640
Setup the CLI options around the JIT and make it the context owner
2022-06-14 18:03:11 +01:00
Sameer Rahmani
c2fb6bf8cb
Move and strip the jit engine to the v1
2022-06-14 15:56:57 +01:00
Sameer Rahmani
cf71fcde38
Fix the shellcheck issues in the builder
2022-06-13 22:30:35 +01:00
Sameer Rahmani
3aa8745354
Remove iwyu from the ci steps
2022-06-13 22:26:23 +01:00
Sameer Rahmani
592d7c4fb0
Remove unnecessary code from context
2022-06-13 22:24:19 +01:00
Sameer Rahmani
3cc5da9789
Apply clang format
2022-06-13 22:19:58 +01:00
Sameer Rahmani
c42ad11bd0
Move over SereneContext and remove the old bits
2022-06-13 22:18:58 +01:00
Sameer Rahmani
c0ad467c87
Fix the compile_commands.json path on the CI
2022-06-13 21:09:11 +01:00
Sameer Rahmani
f98eaabbc4
Add support for libc++ and compiler-rt
2022-06-13 21:07:51 +01:00
Sameer Rahmani
8553b5f43f
Move the old libserene aside and start a new one
2022-06-13 20:34:55 +01:00
Sameer Rahmani
8a32489500
End of Part1
2022-06-13 18:26:14 +01:00
Sameer Rahmani
6362b28492
Revert videos.org from ep19
2022-06-13 12:45:06 +01:00
Sameer Rahmani
c8ded04356
Disable clang-tidy since it's too much for a pi
2022-06-12 23:12:06 +01:00
Sameer Rahmani
3d31d01bc5
Add include-fixer to pre-commit
2022-06-12 22:34:12 +01:00
Sameer Rahmani
02b3674436
Use pre-commit as a step in CI
2022-06-12 21:44:49 +01:00
Sameer Rahmani
71c1e1731e
Fix the broken bash array to str process in the builder
2022-06-12 20:40:36 +01:00
Sameer Rahmani
098b3ebdc4
Try to fix the cmake 2.23 bug
2022-06-12 18:43:06 +01:00
Sameer Rahmani
70995c2908
Fix the builder script to go with the CI
2022-06-12 18:07:06 +01:00
Sameer Rahmani
8c5804b360
Fix the missing step name
2022-06-12 17:35:49 +01:00
Sameer Rahmani
413c26b298
Setup the CI images and try the first drone build
2022-06-12 17:35:12 +01:00
Sameer Rahmani
edc35978fd
Set the pipeline platform to arm64
2022-06-12 11:54:10 +01:00
Sameer Rahmani
0ca8f3e42f
Set the pipeline platform to arm64
2022-06-12 10:51:00 +01:00
Sameer Rahmani
10b33e9372
Add example drone yaml file
2022-06-12 10:08:38 +01:00
Sameer Rahmani
c2364640dc
Add shellcheck to pre-commit
2022-06-11 18:44:46 +01:00
Sameer Rahmani
182c87a046
Add pre-commit utility
2022-06-11 18:33:35 +01:00
Sameer Rahmani
05fdd9f1b2
Add the 'core' static lib that will contain the std libs
2022-06-11 18:11:00 +01:00
Sameer Rahmani
b922284a39
Fix the broken include in types.cpp
2022-06-11 18:07:09 +01:00
Sameer Rahmani
e9708f0690
Update the README file with the new LLVM SHA
2022-06-11 18:02:33 +01:00
Sameer Rahmani
f436d6cee4
Moving to the a JIT first design
...
I realized that focusing on SLIR at this stage is wrong. I need
to finish up the JIT first and use the JIT to implement `read`,
`eval` and `print` functions by linking their C++ implementations
via a static library to the target code and then focus on SLIR
or any alternative that might come next.
This is the finish linke for the `0.x` version series.
2022-06-10 21:49:11 +01:00
Sameer Rahmani
3f025a1a85
Add Ptr type and constrain and break types/ops out of dialect file
2022-06-05 00:02:25 +01:00