The issue if I'm correct is that OSL just doesn't work with llvm 3.6 but the blender script automatically downloads llvm 3.6 The OSL github issue that I linked to has some recent information but I don't know what blender's stance on it.
I've built blender a while ago no problems. Currently I build w --skip-osl for the moment as a workaround. I'd still like to hear what the team has to say about OSL on linux though. Best, Owen On Fri, Mar 18, 2016 at 1:33 PM, Tianwei Shen <[email protected]> wrote: > Hi, > > I encountered the same problem when compiling blender on centos 7. It seems > that there is some problem with OSL: > > Building OpenShadingLanguage-1.7.1 > Ensuring /opt/lib exists and is writable by us > ILMBASE_HOME=/opt/lib/openexr > -- The C compiler identification is GNU 4.8.5 > -- The CXX compiler identification is GNU 4.8.5 > -- Check for working C compiler: /usr/bin/cc > -- Check for working C compiler: /usr/bin/cc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Project build dir = > /home/tianwei/src/blender-deps/OpenShadingLanguage-1.7.1/build > -- CMAKE_CXX_COMPILER is /usr/bin/c++ > -- CMAKE_CXX_COMPILER_ID is GNU > -- Compiling with SIMD level sse2 > -- Setting Namespace to: > -- platform = linux64 > -- Partio not found > -- CMAKE_INSTALL_RPATH = /opt/lib/osl-1.7.1/lib > -- Create oslversion.h from oslversion.h.in > CMake Error: The following variables are used in this project, but they are > set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the CMake > files: > LLVM_MCJIT_LIBRARY > linked by target "oslexec" in directory > /home/tianwei/src/blender-deps/OpenShadingLanguage-1.7.1/src/liboslexec > > -- Configuring incomplete, errors occurred! > See also > > "/home/tianwei/src/blender-deps/OpenShadingLanguage-1.7.1/build/CMakeFiles/CMakeOutput.log". > See also > > "/home/tianwei/src/blender-deps/OpenShadingLanguage-1.7.1/build/CMakeFiles/CMakeError.log". > make: *** No targets specified and no makefile found. Stop. > make: *** No rule to make target `clean'. Stop. > ERROR! OpenShadingLanguage-1.7.1 failed to compile, exiting > > This compiling process works fine on my mac. > > > > Thanks, > Tianwei > > On Fri, Mar 18, 2016 at 5:27 AM, Owen Hogarth II <[email protected]> > wrote: > > > Howdy > > > > compiling blender from source today it seems to want to update to llvm > 3.6 > > but of OSL doesn't build with llvm 3.6 > > > > I manually downgraded my own copies of llvm and clang to 3.5 but the > > install_deps.sh script pulls down 3.6 > > > > there's this long thread about it on github: > > https://github.com/imageworks/OpenShadingLanguage/issues/480 > > > > I'd like to avoid mucking around in the install script so is there any > > officially supported way to build blender with OSL from source? > > > > Best, > > Owen > > _______________________________________________ > > Bf-committers mailing list > > [email protected] > > http://lists.blender.org/mailman/listinfo/bf-committers > > > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
