www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Minor irritant on Fedora 20

reply Russel Winder via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
I created a brand new build directory for Fedora 20, but had a build
failure. It appears that on Debian, the package llvm-dev installs in all
the static libraries as well as the header files. However on Fedora 20
llvm-devel only installs the header files, you have to install
llvm-static as well to get the static libraries. The CMake files did not
check that the needed static libraries were in place :-( Is it possible
for CMake to make such a check?
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Jun 06 2014
parent reply "Kai Nacke" <kai redstar.de> writes:
Hi Russel!

On Friday, 6 June 2014 at 14:14:39 UTC, Russel Winder via 
digitalmars-d-ldc wrote:
 I created a brand new build directory for Fedora 20, but had a 
 build
 failure. It appears that on Debian, the package llvm-dev 
 installs in all
 the static libraries as well as the header files. However on 
 Fedora 20
 llvm-devel only installs the header files, you have to install
 llvm-static as well to get the static libraries. The CMake 
 files did not
 check that the needed static libraries were in place :-( Is it 
 possible
 for CMake to make such a check?
Yes, this can be added. The script to detect LLVM is in cmake/modules/FindLLVM.cmake. I want to update the logic a bit - this would be a good time to add this feature. I added your request to https://github.com/ldc-developers/ldc/issues/353 so that I do not forget about it. Regards, Kai
Jun 06 2014
parent "wicky" <malikajay155 gmail.com> writes:
Yes, this can be added. The script to detect LLVM is in
cmake/modules/FindLLVM.cmake. I want to update the logic a bit -
this would be a good time to add this feature.

_____________________
dhoom
Nov 12 2014