tshort / StaticCompiler.jl

Compiles Julia code to a standalone library (experimental)
Other
490 stars 31 forks source link

update, remove junk, fix tests, use `gcc` for linking #52

Closed MasonProtter closed 2 years ago

MasonProtter commented 2 years ago

I got this working again on version 1.7.1 (though it required using gcc to link rather than LLVM_full_jll :disappointed:), removed a bunch of stuff that was no longer in use, and fixed a few tests. Here's what I see now when I run the test suite:

     Testing Running tests...
Test Summary: | Pass  Total
Basics        |    6      6
Test Summary: | Pass  Total
Recursion     |    1      1
Test Summary: | Pass  Total
Loops         |    4      4
Test Summary: | Pass  Broken  Total
Arrays        |    2       1      3
Test Summary: | Pass  Total
BLAS          |    1      1
Test Summary: | Broken  Total
Hello World   |      1      1
     Testing StaticCompiler tests passed 
tshort commented 2 years ago

Thanks @MasonProtter!

Tests on Windows fail. Windows doesn't like the rm(path) here. Locally, I commented that out as well as another one, and the first test block here fails 4/6 (Float32 and Float64 passed).

We could disable windows tests and add a note that it's broken on Windows.

MasonProtter commented 2 years ago

Yeah, Windows is a bit of a nightmare with this stuff. WE can just recommend people use the WSL

tshort commented 2 years ago

@MasonProtter, I'm happy to merge anytime. Let me know.

MasonProtter commented 2 years ago

Okay, let's just merge it now!