Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The jank compiler is not easily compilable #7

Closed
rosshadden opened this issue Aug 9, 2022 · 6 comments
Closed

The jank compiler is not easily compilable #7

rosshadden opened this issue Aug 9, 2022 · 6 comments

Comments

@rosshadden
Copy link

I'm having trouble building. When I run jank-configure I get an error that lib/magic_enum/include does not exist. Which is true, but I don't know how to make it exist. lib/magic_enum exists but is empty.

@jeaye
Copy link
Member

jeaye commented Aug 9, 2022

That's a submodule you'd need to pull in with git submodule update --recursive --init. Though, note that building jank is going to be tough right now. I'm also using a custom fork of llvm/clang/cling for LLVM13 support, as described here: root-project/root#10294

Once that gets merged into root, and then into cling, and then into nixpkgs, this will all be much easier. Until then, I'm looking at setting up some automated binary builds for folks to use. But that won't be done until jank is in a better state. Right now, it's in the middle of a rewrite that's been going on since March. Simple things like (if true 1 0) will not compile, let alone a useful program.

Anyway, all of that warning aside, if you want to build cling/clang/llvm, use Nix, and pull the submodules, you should be able to get it going.

@jeaye jeaye closed this as completed in fd4a7ac Aug 9, 2022
@jeaye
Copy link
Member

jeaye commented Aug 9, 2022

I've added a note to the readme about this. Hopefully saving others some time.

I really appreciate your interest in jank and I'm hoping to get it into a place where you can more easily play with it in the upcoming months. You're welcome to join the #jank channel on the Clojurians Slack here: https://clojurians.slack.com/archives/C03SRH97FDK

@pyrmont
Copy link

pyrmont commented Sep 6, 2022

Is it possible to reopen this issue and then have it close when building is easier? I ask because if this issue is left open, interested users can subscribe to it and then receive a notification when it's closed.

@jeaye
Copy link
Member

jeaye commented Sep 6, 2022 via email

@pyrmont
Copy link

pyrmont commented Sep 6, 2022

@jeaye Thanks for the quick reply! I think only you can reopen but happy to wait. No urgency on my part. Safe trails!

@jeaye jeaye reopened this Sep 11, 2022
@jeaye jeaye changed the title Building error The jank compiler is not easily compilable Sep 11, 2022
@jeaye
Copy link
Member

jeaye commented Sep 29, 2022

I'm very happy to announce that jank is quite easily buildable on Linux and macOS now. We have continuous builds for Ubuntu and macOS and I develop on Arch. The build system has been replaced with vcpkg + cmake and I've hooked in scripts to automatically compile Cling/Clang/LLVM as well. All of this is documented in the readme.

Note that this doesn't mean jank is usable yet. It's not. But at least we're on our way to having nightly binaries uploaded from CI for Ubuntu and macOS.

@jeaye jeaye closed this as completed Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants