Advertisement
kilon

LLVM error

Jan 27th, 2014
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.26 KB | None | 0 0
  1. -- The C compiler identification is GNU 4.7.3
  2. -- The CXX compiler identification is GNU 4.7.3
  3. -- Check for working C compiler: /usr/bin/cc
  4. -- Check for working C compiler: /usr/bin/cc -- works
  5. -- Detecting C compiler ABI info
  6. -- Detecting C compiler ABI info - done
  7. -- Check for working CXX compiler: /usr/bin/c++
  8. -- Check for working CXX compiler: /usr/bin/c++ -- works
  9. -- Detecting CXX compiler ABI info
  10. -- Detecting CXX compiler ABI info - done
  11. -- Project source dir = /home/exloupis/src/blender-deps/OpenShadingLanguage-1.4.0
  12. -- Project build dir = /home/exloupis/src/blender-deps/OpenShadingLanguage-1.4.0/build
  13. -- Using gcc 4.7 as the compiler
  14. -- CMAKE_CXX_COMPILER is /usr/bin/c++
  15. -- CMAKE_CXX_COMPILER_ID is GNU
  16. -- platform = linux64
  17. -- OPENIMAGEIOHOME = /opt/lib/oiio
  18. -- Looking for include file pthread.h
  19. -- Looking for include file pthread.h - found
  20. -- Looking for pthread_create
  21. -- Looking for pthread_create - not found
  22. -- Looking for pthread_create in pthreads
  23. -- Looking for pthread_create in pthreads - not found
  24. -- Looking for pthread_create in pthread
  25. -- Looking for pthread_create in pthread - found
  26. -- Found Threads: TRUE
  27. -- Found IlmBase: /opt/lib/openexr/include
  28. -- BOOST_ROOT
  29. -- Boost version: 1.49.0
  30. -- Found the following Boost libraries:
  31. -- filesystem
  32. -- regex
  33. -- system
  34. -- thread
  35. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")
  36. -- Partio not found
  37. -- CMAKE_INSTALL_RPATH = /opt/lib/osl-1.4.0/lib
  38. CMake Error at src/liboslexec/CMakeLists.txt:74 (message):
  39. You must have a valid llvm bitcode generator (either llvm-g++ or clang++)
  40. somewhere.
  41. Call Stack (most recent call first):
  42. src/liboslexec/CMakeLists.txt:102 (LLVM_COMPILE)
  43.  
  44.  
  45. -- Configuring incomplete, errors occurred!
  46. make: *** No targets specified and no makefile found. Stop.
  47. make: *** No rule to make target `clean'. Stop.
  48. ERROR! OpenShadingLanguage-1.4.0 failed to compile, exiting
  49. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$
  50. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$ wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
  51. --2014-01-27 12:40:13-- http://llvm.org/apt/llvm-snapshot.gpg.key
  52. Resolving llvm.org (llvm.org)... 128.174.246.134
  53. Connecting to llvm.org (llvm.org)|128.174.246.134|:80... connected.
  54. HTTP request sent, awaiting response... 200 OK
  55. Length: 3145 (3,1K) [application/pgp-keys]
  56. Saving to: ‘STDOUT’
  57.  
  58. 100%[======================================>] 3145 --.-K/s in 0,002s
  59.  
  60. 2014-01-27 12:40:15 (1,47 MB/s) - written to stdout [3145/3145]
  61.  
  62. OK
  63. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$ apt-get install clang-3.4 clang-3.4-doc libclang-common-3.4-dev libclang-3.4-dev libclang1-3.4 libclang1-3.4-dbg libllvm-3.4-ocaml-dev libllvm3.4 libllvm3.4-dbg lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc llvm-3.4-examples llvm-3.4-runtime clang-modernize-3.4 clang-format-3.4 python-clang-3.4 lldb-3.4-dev
  64. E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
  65. E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
  66. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$ sudo apt-get install clang-3.4 clang-3.4-doc libclang-common-3.4-dev libclang-3.4-dev libclang1-3.4 libclang1-3.4-dbg libllvm-3.4-ocaml-dev libllvm3.4 libllvm3.4-dbg lldb-3.4 llvm-3.4 llvm-3.4-dev llvm-3.4-doc llvm-3.4-examples llvm-3.4-runtime clang-modernize-3.4 clang-format-3.4 python-clang-3.4 lldb-3.4-dev
  67. Reading package lists... Done
  68. Building dependency tree
  69. Reading state information... Done
  70. E: Unable to locate package clang-3.4
  71. E: Couldn't find any package by regex 'clang-3.4'
  72. E: Unable to locate package clang-3.4-doc
  73. E: Couldn't find any package by regex 'clang-3.4-doc'
  74. E: Unable to locate package libclang-common-3.4-dev
  75. E: Couldn't find any package by regex 'libclang-common-3.4-dev'
  76. E: Unable to locate package libclang-3.4-dev
  77. E: Couldn't find any package by regex 'libclang-3.4-dev'
  78. E: Unable to locate package libclang1-3.4
  79. E: Couldn't find any package by regex 'libclang1-3.4'
  80. E: Unable to locate package libclang1-3.4-dbg
  81. E: Couldn't find any package by regex 'libclang1-3.4-dbg'
  82. E: Unable to locate package libllvm-3.4-ocaml-dev
  83. E: Couldn't find any package by regex 'libllvm-3.4-ocaml-dev'
  84. E: Unable to locate package libllvm3.4
  85. E: Couldn't find any package by regex 'libllvm3.4'
  86. E: Unable to locate package libllvm3.4-dbg
  87. E: Couldn't find any package by regex 'libllvm3.4-dbg'
  88. E: Unable to locate package lldb-3.4
  89. E: Couldn't find any package by regex 'lldb-3.4'
  90. E: Unable to locate package llvm-3.4
  91. E: Couldn't find any package by regex 'llvm-3.4'
  92. E: Unable to locate package llvm-3.4-dev
  93. E: Couldn't find any package by regex 'llvm-3.4-dev'
  94. E: Unable to locate package llvm-3.4-doc
  95. E: Couldn't find any package by regex 'llvm-3.4-doc'
  96. E: Unable to locate package llvm-3.4-examples
  97. E: Couldn't find any package by regex 'llvm-3.4-examples'
  98. E: Unable to locate package llvm-3.4-runtime
  99. E: Couldn't find any package by regex 'llvm-3.4-runtime'
  100. E: Unable to locate package clang-modernize-3.4
  101. E: Couldn't find any package by regex 'clang-modernize-3.4'
  102. E: Unable to locate package clang-format-3.4
  103. E: Couldn't find any package by regex 'clang-format-3.4'
  104. E: Unable to locate package python-clang-3.4
  105. E: Couldn't find any package by regex 'python-clang-3.4'
  106. E: Unable to locate package lldb-3.4-dev
  107. E: Couldn't find any package by regex 'lldb-3.4-dev'
  108. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$
  109. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$ apt-get install clang-3.4 lldb-3.4
  110. E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
  111. E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
  112. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$ sudo apt-get install clang-3.4 lldb-3.4
  113. Reading package lists... Done
  114. Building dependency tree
  115. Reading state information... Done
  116. E: Unable to locate package clang-3.4
  117. E: Couldn't find any package by regex 'clang-3.4'
  118. E: Unable to locate package lldb-3.4
  119. E: Couldn't find any package by regex 'lldb-3.4'
  120. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$ deb http://llvm.org/apt/precise/ llvm-toolchain-precise main
  121. No command 'deb' found, did you mean:
  122. Command 'dab' from package 'bsdgames' (universe)
  123. Command 'derb' from package 'libicu-dev' (main)
  124. Command 'xdeb' from package 'xdeb' (universe)
  125. Command 'debc' from package 'devscripts' (main)
  126. Command 'debi' from package 'devscripts' (main)
  127. Command 'dwb' from package 'dwb' (universe)
  128. deb: command not found
  129. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$ bash install_deps.sh
  130.  
  131. Installing dependencies for DEB-based distribution
  132.  
  133. Source code of dependencies needed to be compiled will be downloaded and extracted into '/home/exloupis/src/blender-deps'.
  134. Built libs of dependencies needed to be compiled will be installed into '/opt/lib'.
  135. Please edit $SRC and/or $INST variables at the beginning of this script,
  136. or use --source/--install options, if you want to use other paths!
  137.  
  138. Number of threads for building: 4 (automatically detected, use --threads=<nbr> to override it).
  139. Full install: false (use --with-all option to enable it).
  140. Building OpenCOLLADA: false (use --with-opencollada option to enable it).
  141. All static linking: false (use --all-static option to enable it).
  142.  
  143. WARNING: Static build works fine with CMake, but with scons it may be tricky to get a valid Blender build!
  144.  
  145. Example:
  146. Full install without OpenCOLLADA: --with-all --skip-opencollada
  147.  
  148. Use --help to show all available options!
  149.  
  150. Do you want to continue (Y/n)?y
  151. Hit http://gr.archive.ubuntu.com raring Release.gpg
  152. Hit http://gr.archive.ubuntu.com raring-updates Release.gpg
  153. Hit http://gr.archive.ubuntu.com raring-backports Release.gpg
  154. Hit http://security.ubuntu.com raring-security Release.gpg
  155. Hit http://ppa.launchpad.net raring Release.gpg
  156. Hit http://gr.archive.ubuntu.com raring Release
  157. Hit http://gr.archive.ubuntu.com raring-updates Release
  158. Hit http://extras.ubuntu.com raring Release.gpg
  159. Hit http://gr.archive.ubuntu.com raring-backports Release
  160. Hit http://security.ubuntu.com raring-security Release
  161. Hit http://ppa.launchpad.net raring Release.gpg
  162. Hit http://gr.archive.ubuntu.com raring/main Sources
  163. Hit http://extras.ubuntu.com raring Release
  164. Hit http://gr.archive.ubuntu.com raring/restricted Sources
  165. Hit http://security.ubuntu.com raring-security/main Sources
  166. Hit http://ppa.launchpad.net raring Release
  167. Hit http://gr.archive.ubuntu.com raring/universe Sources
  168. Hit http://extras.ubuntu.com raring/main Sources
  169. Hit http://gr.archive.ubuntu.com raring/multiverse Sources
  170. Hit http://gr.archive.ubuntu.com raring/main amd64 Packages
  171. Hit http://security.ubuntu.com raring-security/restricted Sources
  172. Hit http://ppa.launchpad.net raring Release
  173. Hit http://gr.archive.ubuntu.com raring/restricted amd64 Packages
  174. Hit http://extras.ubuntu.com raring/main amd64 Packages
  175. Hit http://security.ubuntu.com raring-security/universe Sources
  176. Hit http://gr.archive.ubuntu.com raring/universe amd64 Packages
  177. Hit http://ppa.launchpad.net raring/main amd64 Packages
  178. Hit http://extras.ubuntu.com raring/main i386 Packages
  179. Hit http://gr.archive.ubuntu.com raring/multiverse amd64 Packages
  180. Hit http://gr.archive.ubuntu.com raring/main i386 Packages
  181. Hit http://linux.dropbox.com precise Release.gpg
  182. Hit http://security.ubuntu.com raring-security/multiverse Sources
  183. Hit http://ppa.launchpad.net raring/main i386 Packages
  184. Hit http://gr.archive.ubuntu.com raring/restricted i386 Packages
  185. Hit http://security.ubuntu.com raring-security/main amd64 Packages
  186. Hit http://gr.archive.ubuntu.com raring/universe i386 Packages
  187. Hit http://gr.archive.ubuntu.com raring/multiverse i386 Packages
  188. Hit http://security.ubuntu.com raring-security/restricted amd64 Packages
  189. Hit http://ppa.launchpad.net raring/main amd64 Packages
  190. Hit http://gr.archive.ubuntu.com raring/main Translation-en
  191. Hit http://linux.dropbox.com precise Release
  192. Hit http://gr.archive.ubuntu.com raring/multiverse Translation-en
  193. Hit http://security.ubuntu.com raring-security/universe amd64 Packages
  194. Hit http://ppa.launchpad.net raring/main i386 Packages
  195. Hit http://gr.archive.ubuntu.com raring/restricted Translation-en
  196. Hit http://gr.archive.ubuntu.com raring/universe Translation-en
  197. Hit http://security.ubuntu.com raring-security/multiverse amd64 Packages
  198. Hit http://gr.archive.ubuntu.com raring-updates/main Sources
  199. Ign http://extras.ubuntu.com raring/main Translation-en
  200. Hit http://gr.archive.ubuntu.com raring-updates/restricted Sources
  201. Hit http://gr.archive.ubuntu.com raring-updates/universe Sources
  202. Hit http://security.ubuntu.com raring-security/main i386 Packages
  203. Hit http://linux.dropbox.com precise/main amd64 Packages
  204. Hit http://gr.archive.ubuntu.com raring-updates/multiverse Sources
  205. Hit http://gr.archive.ubuntu.com raring-updates/main amd64 Packages
  206. Hit http://security.ubuntu.com raring-security/restricted i386 Packages
  207. Hit http://gr.archive.ubuntu.com raring-updates/restricted amd64 Packages
  208. Hit http://gr.archive.ubuntu.com raring-updates/universe amd64 Packages
  209. Hit http://security.ubuntu.com raring-security/universe i386 Packages
  210. Hit http://gr.archive.ubuntu.com raring-updates/multiverse amd64 Packages
  211. Hit http://gr.archive.ubuntu.com raring-updates/main i386 Packages
  212. Hit http://linux.dropbox.com precise/main i386 Packages
  213. Hit http://gr.archive.ubuntu.com raring-updates/restricted i386 Packages
  214. Hit http://security.ubuntu.com raring-security/multiverse i386 Packages
  215. Hit http://security.ubuntu.com raring-security/main Translation-en
  216. Hit http://gr.archive.ubuntu.com raring-updates/universe i386 Packages
  217. Hit http://gr.archive.ubuntu.com raring-updates/multiverse i386 Packages
  218. Hit http://security.ubuntu.com raring-security/multiverse Translation-en
  219. Hit http://gr.archive.ubuntu.com raring-updates/main Translation-en
  220. Hit http://gr.archive.ubuntu.com raring-updates/multiverse Translation-en
  221. Hit http://gr.archive.ubuntu.com raring-updates/restricted Translation-en
  222. Ign http://ppa.launchpad.net raring/main Translation-en
  223. Hit http://gr.archive.ubuntu.com raring-updates/universe Translation-en
  224. Hit http://gr.archive.ubuntu.com raring-backports/main Sources
  225. Hit http://security.ubuntu.com raring-security/restricted Translation-en
  226. Hit http://gr.archive.ubuntu.com raring-backports/restricted Sources
  227. Hit http://gr.archive.ubuntu.com raring-backports/universe Sources
  228. Hit http://security.ubuntu.com raring-security/universe Translation-en
  229. Ign http://ppa.launchpad.net raring/main Translation-en
  230. Hit http://gr.archive.ubuntu.com raring-backports/multiverse Sources
  231. Hit http://gr.archive.ubuntu.com raring-backports/main amd64 Packages
  232. Hit http://gr.archive.ubuntu.com raring-backports/restricted amd64 Packages
  233. Hit http://gr.archive.ubuntu.com raring-backports/universe amd64 Packages
  234. Hit http://gr.archive.ubuntu.com raring-backports/multiverse amd64 Packages
  235. Hit http://gr.archive.ubuntu.com raring-backports/main i386 Packages
  236. Hit http://gr.archive.ubuntu.com raring-backports/restricted i386 Packages
  237. Hit http://gr.archive.ubuntu.com raring-backports/universe i386 Packages
  238. Hit http://gr.archive.ubuntu.com raring-backports/multiverse i386 Packages
  239. Hit http://gr.archive.ubuntu.com raring-backports/main Translation-en
  240. Hit http://gr.archive.ubuntu.com raring-backports/multiverse Translation-en
  241. Hit http://gr.archive.ubuntu.com raring-backports/restricted Translation-en
  242. Ign http://linux.dropbox.com precise/main Translation-en
  243. Hit http://gr.archive.ubuntu.com raring-backports/universe Translation-en
  244. Reading package lists... Done
  245. E: No packages found
  246.  
  247. Reading package lists... Done
  248. Building dependency tree
  249. Reading state information... Done
  250. Note, selecting 'libpng12-dev' instead of 'libpng-dev'
  251. build-essential is already the newest version.
  252. bzip2 is already the newest version.
  253. cmake is already the newest version.
  254. gawk is already the newest version.
  255. git is already the newest version.
  256. libbz2-dev is already the newest version.
  257. libfftw3-dev is already the newest version.
  258. libfreetype6-dev is already the newest version.
  259. libglew-dev is already the newest version.
  260. libjpeg-dev is already the newest version.
  261. liblzma-dev is already the newest version.
  262. libncurses5-dev is already the newest version.
  263. libogg-dev is already the newest version.
  264. libpng12-dev is already the newest version.
  265. libreadline-dev is already the newest version.
  266. libsdl1.2-dev is already the newest version.
  267. libsqlite3-dev is already the newest version.
  268. libtheora-dev is already the newest version.
  269. libvorbis-dev is already the newest version.
  270. patch is already the newest version.
  271. scons is already the newest version.
  272. wget is already the newest version.
  273. yasm is already the newest version.
  274. cmake-curses-gui is already the newest version.
  275. libopenal-dev is already the newest version.
  276. libopenjpeg-dev is already the newest version.
  277. libtinyxml-dev is already the newest version.
  278. libyaml-cpp-dev is already the newest version.
  279. libssl-dev is already the newest version.
  280. libtiff5-dev is already the newest version.
  281. libx11-dev is already the newest version.
  282. libxi-dev is already the newest version.
  283. libxml2-dev is already the newest version.
  284. 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
  285.  
  286. Reading package lists... Done
  287. Building dependency tree
  288. Reading state information... Done
  289. libx264-dev is already the newest version.
  290. 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
  291.  
  292. Reading package lists... Done
  293. Building dependency tree
  294. Reading state information... Done
  295. python3.3-dev is already the newest version.
  296. 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
  297.  
  298. WARNING! Sorry, using python package but no valid numpy package available!
  299. Use --required-numpy to force building of both Python and numpy.
  300.  
  301. Reading package lists... Done
  302. Building dependency tree
  303. Reading state information... Done
  304. libboost-dev is already the newest version.
  305. 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
  306. Reading package lists... Done
  307. Building dependency tree
  308. Reading state information... Done
  309. libboost-filesystem1.49-dev is already the newest version.
  310. libboost-regex1.49-dev is already the newest version.
  311. libboost-system1.49-dev is already the newest version.
  312. libboost-thread1.49-dev is already the newest version.
  313. libboost-locale1.49-dev is already the newest version.
  314. 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
  315.  
  316. Own OpenColorIO-1.0.7 is up to date, nothing to do!
  317. If you want to force rebuild of this lib, use the --force-ocio option.
  318.  
  319. Running ldconfig for ocio...
  320. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIex-2_1.so.11 is not a symbolic link
  321.  
  322. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIlmThread-2_1.so.11 is not a symbolic link
  323.  
  324. /sbin/ldconfig.real: /opt/lib/openexr/lib/libImath-2_1.so.11 is not a symbolic link
  325.  
  326. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIexMath-2_1.so.11 is not a symbolic link
  327.  
  328. /sbin/ldconfig.real: /opt/lib/openexr/lib/libHalf.so.11 is not a symbolic link
  329.  
  330.  
  331.  
  332. Own ILMBase-2.1.0 is up to date, nothing to do!
  333. If you want to force rebuild of this lib (and openexr), use the --force-openexr option.
  334.  
  335. Own OpenEXR-2.1.0 is up to date, nothing to do!
  336. If you want to force rebuild of this lib, use the --force-openexr option.
  337.  
  338. Running ldconfig for openexr...
  339. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIex-2_1.so.11 is not a symbolic link
  340.  
  341. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIlmThread-2_1.so.11 is not a symbolic link
  342.  
  343. /sbin/ldconfig.real: /opt/lib/openexr/lib/libImath-2_1.so.11 is not a symbolic link
  344.  
  345. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIexMath-2_1.so.11 is not a symbolic link
  346.  
  347. /sbin/ldconfig.real: /opt/lib/openexr/lib/libHalf.so.11 is not a symbolic link
  348.  
  349.  
  350.  
  351. Own OpenImageIO-1.3.9 is up to date, nothing to do!
  352. If you want to force rebuild of this lib, use the --force-oiio option.
  353.  
  354. Running ldconfig for oiio...
  355. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIex-2_1.so.11 is not a symbolic link
  356.  
  357. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIlmThread-2_1.so.11 is not a symbolic link
  358.  
  359. /sbin/ldconfig.real: /opt/lib/openexr/lib/libImath-2_1.so.11 is not a symbolic link
  360.  
  361. /sbin/ldconfig.real: /opt/lib/openexr/lib/libIexMath-2_1.so.11 is not a symbolic link
  362.  
  363. /sbin/ldconfig.real: /opt/lib/openexr/lib/libHalf.so.11 is not a symbolic link
  364.  
  365.  
  366.  
  367. E: No packages found
  368. Reading package lists... Done
  369. Building dependency tree
  370. Reading state information... Done
  371. libffi-dev is already the newest version.
  372. 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
  373.  
  374. Own LLVM-3.3 (CLANG included) is up to date, nothing to do!
  375. If you want to force rebuild of this lib, use the --force-llvm option.
  376.  
  377. Reading package lists... Done
  378. Building dependency tree
  379. Reading state information... Done
  380. bison is already the newest version.
  381. flex is already the newest version.
  382. libtbb-dev is already the newest version.
  383. 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
  384.  
  385. Building OpenShadingLanguage-1.4.0
  386. Ensuring /opt/lib exists and is writable by us
  387. From https://github.com/mont29/OpenShadingLanguage
  388. * branch master -> FETCH_HEAD
  389. Updating 175989f..f22e800
  390. Fast-forward
  391. CMakeLists.txt | 2 +-
  392. site/spi/Makefile-bits | 3 +-
  393. src/cmake/externalpackages.cmake | 9 +-
  394. src/cmake/modules/FindIlmBase.cmake | 45 +-
  395. src/include/CMakeLists.txt | 6 +-
  396. src/include/dual_vec.h | 36 +-
  397. src/include/llvm_util.h | 505 +++++++++++
  398. src/include/oslexec.h | 43 +-
  399. src/include/oslversion.h.in | 1 +
  400. src/include/shaderglobals.h | 87 ++
  401. src/liboslexec/CMakeLists.txt | 6 +
  402. src/liboslexec/backendllvm.cpp | 730 +++++++++++++++
  403. src/liboslexec/backendllvm.h | 262 +-----
  404. src/liboslexec/context.cpp | 1 +
  405. src/liboslexec/llvm_gen.cpp | 874 +++++++++---------
  406. src/liboslexec/llvm_headers.h | 95 --
  407. src/liboslexec/llvm_instance.cpp | 565 +++---------
  408. src/liboslexec/llvm_ops.cpp | 63 +-
  409. src/liboslexec/llvm_util.cpp | 1670 ++++++++++++++++++++---------------
  410. src/liboslexec/llvmutil_test.cpp | 85 ++
  411. src/liboslexec/oslexec_pvt.h | 20 -
  412. src/liboslexec/shadingsys.cpp | 17 +-
  413. src/testshade/testshade_dso.cpp | 2 +-
  414. 23 files changed, 3084 insertions(+), 2043 deletions(-)
  415. create mode 100644 src/include/llvm_util.h
  416. create mode 100644 src/include/shaderglobals.h
  417. create mode 100644 src/liboslexec/backendllvm.cpp
  418. delete mode 100644 src/liboslexec/llvm_headers.h
  419. create mode 100644 src/liboslexec/llvmutil_test.cpp
  420. Previous HEAD position was f22e800... Better handling of OpenEXR libs naming based on version (auto-discover 2.1 and above from config header file).
  421. HEAD is now at 175989f... Fix for new lib names in ILMBase 2.1
  422. HEAD is now at 175989f Fix for new lib names in ILMBase 2.1
  423. -- The C compiler identification is GNU 4.7.3
  424. -- The CXX compiler identification is GNU 4.7.3
  425. -- Check for working C compiler: /usr/bin/cc
  426. -- Check for working C compiler: /usr/bin/cc -- works
  427. -- Detecting C compiler ABI info
  428. -- Detecting C compiler ABI info - done
  429. -- Check for working CXX compiler: /usr/bin/c++
  430. -- Check for working CXX compiler: /usr/bin/c++ -- works
  431. -- Detecting CXX compiler ABI info
  432. -- Detecting CXX compiler ABI info - done
  433. -- Project source dir = /home/exloupis/src/blender-deps/OpenShadingLanguage-1.4.0
  434. -- Project build dir = /home/exloupis/src/blender-deps/OpenShadingLanguage-1.4.0/build
  435. -- Using gcc 4.7 as the compiler
  436. -- CMAKE_CXX_COMPILER is /usr/bin/c++
  437. -- CMAKE_CXX_COMPILER_ID is GNU
  438. -- platform = linux64
  439. -- OPENIMAGEIOHOME = /opt/lib/oiio
  440. -- Looking for include file pthread.h
  441. -- Looking for include file pthread.h - found
  442. -- Looking for pthread_create
  443. -- Looking for pthread_create - not found
  444. -- Looking for pthread_create in pthreads
  445. -- Looking for pthread_create in pthreads - not found
  446. -- Looking for pthread_create in pthread
  447. -- Looking for pthread_create in pthread - found
  448. -- Found Threads: TRUE
  449. -- Found IlmBase: /opt/lib/openexr/include
  450. -- BOOST_ROOT
  451. -- Boost version: 1.49.0
  452. -- Found the following Boost libraries:
  453. -- filesystem
  454. -- regex
  455. -- system
  456. -- thread
  457. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")
  458. -- Partio not found
  459. -- CMAKE_INSTALL_RPATH = /opt/lib/osl-1.4.0/lib
  460. CMake Error at src/liboslexec/CMakeLists.txt:74 (message):
  461. You must have a valid llvm bitcode generator (either llvm-g++ or clang++)
  462. somewhere.
  463. Call Stack (most recent call first):
  464. src/liboslexec/CMakeLists.txt:102 (LLVM_COMPILE)
  465.  
  466.  
  467. -- Configuring incomplete, errors occurred!
  468. make: *** No targets specified and no makefile found. Stop.
  469. make: *** No rule to make target `clean'. Stop.
  470. ERROR! OpenShadingLanguage-1.4.0 failed to compile, exiting
  471. exloupis@exloupis-To-be-filled-by-O-E-M:~/d/blender-source/blender/build_files/build_environment$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement