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

No HiPE in a default kerl build #5

Open
essen opened this issue May 5, 2011 · 5 comments
Open

No HiPE in a default kerl build #5

essen opened this issue May 5, 2011 · 5 comments

Comments

@essen
Copy link

essen commented May 5, 2011

I don't have HiPE in a default kerl build (no options). Tried with r14b and r14b02. On the other hand, a default source build compiled manually enables HiPE. Is that expected behavior?

@develop7
Copy link

develop7 commented May 5, 2011

default source build compiled manually

you mean ./configure and then make? kerl (for now, at least) calls otp_build script shipped with erlang.

@essen
Copy link
Author

essen commented May 5, 2011

Yeah first one. What's odd is that the README makes you think you're supposed to get HiPE by default because there is this example on how to build r14b02_nohipe explicitly, but it sounds like they would both be the same?

@evax
Copy link
Owner

evax commented May 6, 2011

The README's wrong then, I'll correct it.

'./otp_build configure' disables HiPE on linux:

if target_contains linux; then 
        XX=`echo $* | grep -v able-hipe`
    if [ "$*" = "$XX" ]; then 
        CONFIG_FLAGS="$CONFIG_FLAGS --disable-hipe" 
    fi
fi

so on linux you have to specifically enable it:
KERL_CONFIGURE_OPTIONS="--enable-hipe" kerl build R14B02 r14b02_hipe

@essen
Copy link
Author

essen commented May 6, 2011

Alright, is more clear now. Thanks!

@develop7
Copy link

@evax I've spent some time on comparing build flags produced by otp_build and ./configure and decided to use ./configure since it detects all stuff available on current platform and configures sources accordingly instead of relying on general presets built by unknown people at Ericsson (or whatever they are from).

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