-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cross-platform build #1
Conversation
Signed-off-by: falkTX <[email protected]>
Signed-off-by: falkTX <[email protected]>
Signed-off-by: falkTX <[email protected]>
Heh, this is pretty much exactly as far as I got when I started porting to linux. |
Makefile
Outdated
@@ -0,0 +1,91 @@ | |||
#!/usr/bin/make -f | |||
# Makefile for FluidPlug # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The what? =)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol copy&paste silliness, you didn't see anything 🌈
Makefile.mk
Outdated
@@ -0,0 +1,297 @@ | |||
#!/usr/bin/make -f | |||
# Makefile for DPF # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
..
src/eval.cpp
Outdated
@@ -727,14 +727,14 @@ std::string func2call(int func) | |||
return s; | |||
} | |||
|
|||
WELL512 random; | |||
WELL512 wrandom; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this probably should be gRandom, my bad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can change that, no worries.
It is just that we get a conflict with random
function, leading to a build failure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some small notes
Signed-off-by: falkTX <[email protected]>
Signed-off-by: falkTX <[email protected]>
just pushed fixes for the little issues you commented on. |
Thanks! |
Now building and running on Linux 🎉
Sadly it crashes anytime a JIT operation is triggered, so it is not as useful.
The
memofs
for any call is just very suspiciously wrong.I couldn't find why, sorry.
Allowing code to build is a good first step though, so here you go :)
In theory this should allow to build on macOS too, but I did not test this.