Improve auto::llvm #853

Closed
rurban opened this Issue Oct 2, 2012 · 2 comments

1 participant

@rurban
Parrot Virtual Machine member
  • --llvm-config is not a valid option, handle it

  • static llvm libs are not detected only via ldd

  • handle the debian testing default case (llvm-config-3.0, ...) done in e97ecc5

  • handle llvm 3.2 new --version format

  • eventually merge opsc_llvm

branch rurban/llvm-gh853

@rurban rurban was assigned Oct 2, 2012
@rurban rurban added a commit that referenced this issue Oct 2, 2012
@rurban rurban [GH #853] Enable proper llvm probes
enable compilation probes
add the --llvm-config option and handle it
print the detected version (silent 1 as fallback)
detect static llvm libs
handle the debian testing default case (appended -version)
handle the llvm 3.2 new --version format
set proper llvm_{c,cxx,ld}flags and llvm_libs config keys for opsc_llvm integration
try given cc for a llvm-gcc or clang compatible compiler
check the output of -emit-llvm by file magic inspection
  ld: warning: cannot find entry symbol 'mit-llvm'
132f7c7
@rurban
Parrot Virtual Machine member

The branch rurban/llvm-gh853 is ready to be merged.

The branch rurban/ops2c_llvm contains rurban/llvm-gh853 plus the rebased and fixed ops2c_llvm branch.

@rurban rurban added a commit that referenced this issue Oct 3, 2012
@rurban rurban [GH #853] Less failing llvm-gcc noise c4ac9e8
@rurban rurban added a commit that referenced this issue Dec 24, 2012
@rurban rurban [GH #853] Enable proper llvm probes
enable compilation probes
add the --llvm-config option and handle it
print the detected version (silent 1 as fallback)
detect static llvm libs
handle the debian testing default case (appended -version)
handle the llvm 3.2 new --version format
set proper llvm_{c,cxx,ld}flags and llvm_libs config keys for opsc_llvm integration
try given cc for a llvm-gcc or clang compatible compiler
check the output of -emit-llvm by file magic inspection
  ld: warning: cannot find entry symbol 'mit-llvm'
d7f4b71
@rurban
Parrot Virtual Machine member

Merged into master with b99080e

Tested with various weird settings, like good clang and missing llvm-config, and a custom llvm-config and clang.

@rurban rurban closed this Dec 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment