kerl
                                
                                 kerl copied to clipboard
                                
                                    kerl copied to clipboard
                            
                            
                            
                        No HiPE in a default kerl build
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?
default source build compiled manually
you mean ./configure and then make? kerl (for now, at least) calls otp_build script shipped with erlang.
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?
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
Alright, is more clear now. Thanks!
@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).