Arya Irani
61c5bebf44
try libb2-1 instead of libb2-dev ( #4901 )
...
* try libb2-1 instead of libb2-dev
* split jit build and test into their own workflows
* try custom racket action
* skip windows jit test at the matrix level
2024-04-28 15:35:05 -04:00
Arya Irani
0162c99659
Merge pull request #4900 from unisonweb/topic/jit-ffi
2024-04-25 20:41:41 -04:00
Dan Doel
5a7ce7dd65
Add back the static version numbers for b2, just in case
2024-04-25 16:48:51 -04:00
Dan Doel
ab7f338b9b
Tweak crypto ffi for better dependencies
...
It seems that the versions need to be specified both during
`define-runtime-path` _and_ `ffi-lib`.
2024-04-25 16:37:58 -04:00
Arya Irani
542b7864ee
Merge pull request #4897 from unisonweb/fix/jit-duplicate-defns
...
Fix duplicate definitions in jit when using scratch files
2024-04-22 11:58:42 -04:00
Arya Irani
63452e901f
Merge pull request #4895 from unisonweb/fix/decompile-array
...
Allow decompilation of arrays
2024-04-21 12:29:31 -04:00
Arya Irani
660b881e13
Merge pull request #4892 from unisonweb/topic/jit-bundle
...
Try define-runtime-path for libb2
2024-04-21 12:28:54 -04:00
Arya Irani
99969f83ae
try to fix several broken aspects of ci/generate-jit-source workflow
...
install libb2 before raco distribute (mac only)
also install libb2 if we have to run the jit tests
install libb2 in release workflow
2024-04-21 16:24:13 +00:00
Dan Doel
234bcbae20
Try define-runtime-path for libb2
2024-04-21 16:24:13 +00:00
Dan Doel
9d1e2308a8
Fix duplicate definitions in jit when using scratch files
2024-04-19 16:35:17 -04:00
Dan Doel
5564317903
Transcript updates
...
Modify watch-expressions transcript to use new array predefs
2024-04-19 10:32:30 -04:00
Dan Doel
b2a2107675
Add fromBytes to IOSource and decompile with it
2024-04-18 16:20:21 -04:00
Dan Doel
6812d663de
Add ImmutableArray.fromList to IOSource and use it for decompiling
2024-04-18 13:44:56 -04:00
Arya Irani
ac4d817f5e
Merge pull request #4887 from unisonweb/topic/jit-eval-side-channel
...
Use a socket to communicate with the jit runtime process
2024-04-17 16:06:06 -04:00
Dan Doel
4abcc1efb1
Cli integration transcript output
...
Whitespace differences
2024-04-17 14:28:21 -04:00
Dan Doel
079d46674e
Strip unison-runtime flags before evaluation
...
The evaluated program can ask for command line arguments, but without
intervention, it will receive all the flags from the call to the parent
program. Previously none were expected, but now we have the port.
So, as part of command line parsing, grab all the remaining args and
install them as the whole list of arguments before starting evaluation.
2024-04-17 14:25:32 -04:00
Arya Irani
f586e377f7
Merge pull request #4891 from unisonweb/add-nix-docker-image
...
Add docker image to nix outputs
2024-04-17 13:59:48 -04:00
Cody Allen
ad2e790a1e
nix ucm docker image: add cacert and fzf, use layered image
2024-04-17 13:43:39 -04:00
Chris Penner
8f57a92a36
Merge pull request #4890 from unisonweb/cp/deprecate-loose-code-push
...
Deprecate pushing loose code from UCM
2024-04-17 10:14:03 -07:00
Arya Irani
64fa4bec3c
Merge pull request #4888 from unisonweb/fix/misc-decompile
...
Decompile partially applied builtin functions
2024-04-16 17:07:34 -04:00
Arya Irani
59755d3f8b
Adds the scheme-libs hash to the cache keys for jit binaries and jit runtime test results ( #4889 )
...
Plus:
* cache jit binaries even if tests fail
* move checkout early enough to hash racket source
2024-04-16 16:39:53 -04:00
Chris Penner
8854da6f48
Deprecate loose code push in UCM
2024-04-16 13:14:35 -07:00
Dan Doel
da74c38f0e
Test for partially applied builtins
2024-04-16 15:23:21 -04:00
dolio
7667b1a958
automatically run ormolu
2024-04-16 18:27:23 +00:00
Dan Doel
12ec621d23
Add back padding when errors/traces actually occur
2024-04-16 14:26:28 -04:00
Dan Doel
383a6695d7
Decompile partially applied builtin functions
2024-04-16 14:10:29 -04:00
Dan Doel
9f2089798f
Transcript output updates for error formatting
2024-04-16 13:52:17 -04:00
Dan Doel
c3ac632507
Merge remote-tracking branch 'refs/remotes/origin/topic/jit-eval-side-channel' into topic/jit-eval-side-channel
2024-04-16 13:25:43 -04:00
Dan Doel
90dffe3e9b
Add a note about port 0 listening
2024-04-16 13:16:27 -04:00
dolio
6a28cf5322
automatically run ormolu
2024-04-16 17:15:47 +00:00
Dan Doel
d9378fdd52
Use a thread for communication with jit runtime
...
Avoids potential lock ups if the runtime process exits before connecting
back.
Also includes some error formatting to avoid empty lines and empty stack
traces.
2024-04-16 13:06:17 -04:00
Dan Doel
087bc3e3a0
Add separate communication channel with jit runtime
2024-04-16 12:03:46 -04:00
Arya Irani
b4f1486cd1
Merge pull request #4876 from unisonweb/fix/jit-link-validation
...
Upgrade jit share dependency to fix link validation
2024-04-11 08:30:30 -06:00
Dan Doel
ce8dfd2a73
Bump jit share dependency to 0.0.15
2024-04-10 18:18:50 -04:00
Dan Doel
9f639e6927
Prepare unison-runtime for working via a separate channel
...
Parameterizes various things by the ports they interact with. Without
any arguments in `run` mode, it just uses stdin to read, and a dummy
output to write. But when passed a port argument it will open a socket
for those.
2024-04-10 12:27:30 -04:00
Arya Irani
972a63e537
Merge pull request #4869 from unisonweb/topic/jit-error-detection
...
Check the exit code during native evaluation
2024-04-09 17:31:44 -04:00
Arya Irani
500fb367d8
update mergify conditions
2024-04-09 15:07:49 -06:00
Arya Irani
7db3e26956
Merge pull request #4874 from unisonweb/install-libb2-on-build-or-test
...
install linux libb2 on build or test
2024-04-09 16:48:57 -04:00
Arya Irani
6f2ab39303
don't mark tests as passing if they haven't run
2024-04-09 14:48:15 -06:00
Arya Irani
cf9a618c08
accidentally split up racket version
2024-04-09 14:12:58 -06:00
Arya Irani
957ee53029
Merge pull request #4870 from unisonweb/cp/diff-by-namespace
...
Updates for Share diffs feature
2024-04-09 15:53:31 -04:00
Arya Irani
5665d94ea1
isolate jit binaries by matrix.os
2024-04-09 13:47:13 -06:00
Arya Irani
19aaf78121
i wonder what other files the tests may be using
2024-04-09 13:35:51 -06:00
Arya Irani
875ce5710e
also need jit tests tpl
2024-04-09 13:28:40 -06:00
Arya Irani
857a0b1638
checkout scripts before running them
2024-04-09 13:24:48 -06:00
Arya Irani
00309e1fe9
if: success()
is the default
2024-04-09 13:20:44 -06:00
Arya Irani
6f31f8310a
don't mark success if not run
2024-04-09 13:16:28 -06:00
Arya Irani
a5767b2eb2
move brew install to top level, assuming only needed at runtime
2024-04-09 13:14:38 -06:00
Arya Irani
c3f4a820ac
install libb2 for mac tests
2024-04-09 12:56:12 -06:00
Arya Irani
5d5c75452d
isolate jit test results by matrix.os
2024-04-09 12:48:38 -06:00