--- a/LLVM.st Sat Jul 18 07:22:20 2015 +0100
+++ b/LLVM.st Fri Jul 31 16:02:39 2015 +0100
@@ -9,12 +9,24 @@
category:'LLVM-Internal'
!
+
!LLVM class methodsFor:'accessing'!
libraryName
- ^ '/usr/lib/llvm-3.7/lib/libLLVM-3.7.so'
+ | paths |
+ OperatingSystem isUNIXlike ifTrue:[
+ paths := #(
+ '/usr/lib/llvm-3.8/lib/libLLVM-3.8.so'
+ )
+ ] ifFalse:[
+ self error: 'Unsuppported operting system'
+ ].
+ ^ paths
+ detect:[:each | each asFilename exists ]
+ ifNone:[ self error: 'No suitable LLVM library found' ]
"Created: / 07-07-2015 / 00:45:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 31-07-2015 / 15:58:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!LLVM class methodsFor:'primitives'!
@@ -5983,3 +5995,10 @@
self primitiveFailed
! !
+!LLVM class methodsFor:'documentation'!
+
+version_HG
+
+ ^ '$Changeset: <not expanded> $'
+! !
+