-
Notifications
You must be signed in to change notification settings - Fork 1
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
compile for Linux : adjust Makefile #2
Comments
Hello! |
thanks ! could your code be adjusted to auto-detect the hardware architecture and compile accordingly ? i think some other engines do this, but i'm not sure .. |
Thanks for the feedback! |
i also had to change that new MakeFile while default clang++ compiling gives an invalid executable on my Xubuntu 20.04.2, although the compilation was without errors .. using g++ gives me a valid binary .. i think your MakeFile is too simple .. some other engine programmers use some smart hardware detection or they test the made clang binary and when it's invalid they re-compile with g++ .. i guess this is how their "auto script" works .. example is the Halogen engine, see https://github.com/KierenP/Halogen .. thanks anyway for this new v4.1 version despite my bit of handcraft :-) |
hi,
i guess your default is AVX2 processors, but my laptop does not support that.
to compile on Linux (Xubuntu 20.04.2) i had to adjust the makefile by removing the NFLAGS, so the CXXFLAGS code line becomes like this :
CXXFLAGS =$(BFLAGS) $ (WFLAGS)
The text was updated successfully, but these errors were encountered: