gpuocelot on OSX Yosemite 10.10.5

141 views
Skip to first unread message

Josh Abbott

unread,
Oct 16, 2015, 10:20:13 AM10/16/15
to gpuocelot
Trying to compile with OSX Yosemite. I used brew to install boost 1.49.

brew search boost

boost     boost-build   homebrew/versions/boost149 (installed)       homebrew/versions/boost155

boost-bcp     boost-python   homebrew/versions/boost150

homebrew/science/boost-compute       Caskroom/cask/iboostup     Caskroom/cask/pivotalbooster   Caskroom/cask/turbo-boost-switcher


I am getting these errors:

sudo ./build.py --no_werr

Password:

scons -Q Werror=false

Build rules for Ocelot....

Failed to get SVN repository version!

Failed to find llvm-config

Not installing Ocelot.

config_h_build([".release_build/configure.h"], ["configure.h.in"])

g++ -o .release_build/ocelot/tools/OcelotConfig.o -c -O2 -Wall -std=c++0x -DOCELOT_CXXFLAGS="\"-O2 -Wall -std=c++0x\"" -DPACKAGE="\"ocelot\"" -DVERSION="\"2.1.unknown\"" -DOCELOT_PREFIX_PATH="\"/Users/jabbott/gpuocelot/ocelot/.release_build\"" -DOCELOT_LDFLAGS="\"-locelot\"" -L"\"/Users/jabbott/gpuocelot/ocelot/.release_build/lib\"" -DOCELOT_INCLUDE_PATH="\"/Users/jabbott/gpuocelot/ocelot/.release_build/include\"" -DOCELOT_LIB_PATH="\"/Users/jabbott/gpuocelot/ocelot/.release_build/lib\"" -DOCELOT_BIN_PATH="\"/Users/jabbott/gpuocelot/ocelot/.release_build/bin\"" -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/tools/OcelotConfig.cpp

clang: warning: argument unused during compilation: '-L"/Users/jabbott/gpuocelot/ocelot/.release_build/lib"'

g++ -o .release_build/ocelot/ir/implementation/ControlFlowGraph.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/ControlFlowGraph.cpp

g++ -o .release_build/ocelot/ir/implementation/Dim3.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/Dim3.cpp

g++ -o .release_build/ocelot/ir/implementation/ExternalFunctionSet.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/ExternalFunctionSet.cpp

ocelot/ir/implementation/ExternalFunctionSet.cpp:7:9: warning: 'EXTERNAL_FUCNTION_SET_CPP_INCLUDED' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]

#ifndef EXTERNAL_FUCNTION_SET_CPP_INCLUDED

        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ocelot/ir/implementation/ExternalFunctionSet.cpp:8:9: note: 'EXTERNAL_FUNCTION_SET_CPP_INCLUDED' is defined here; did you mean 'EXTERNAL_FUCNTION_SET_CPP_INCLUDED'?

#define EXTERNAL_FUNCTION_SET_CPP_INCLUDED

        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        EXTERNAL_FUCNTION_SET_CPP_INCLUDED

1 warning generated.

g++ -o .release_build/ocelot/ir/implementation/Global.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/Global.cpp

g++ -o .release_build/ocelot/ir/implementation/ILInstruction.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/ILInstruction.cpp

g++ -o .release_build/ocelot/ir/implementation/ILKernel.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/ILKernel.cpp

g++ -o .release_build/ocelot/ir/implementation/ILOperand.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/ILOperand.cpp

g++ -o .release_build/ocelot/ir/implementation/ILStatement.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/ILStatement.cpp

g++ -o .release_build/ocelot/ir/implementation/IRKernel.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/IRKernel.cpp

g++ -o .release_build/ocelot/ir/implementation/Instruction.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/Instruction.cpp

g++ -o .release_build/ocelot/ir/implementation/Kernel.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/Kernel.cpp

g++ -o .release_build/ocelot/ir/implementation/LLVMInstruction.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/LLVMInstruction.cpp

g++ -o .release_build/ocelot/ir/implementation/LLVMKernel.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/LLVMKernel.cpp

g++ -o .release_build/ocelot/ir/implementation/LLVMStatement.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/LLVMStatement.cpp

g++ -o .release_build/ocelot/ir/implementation/Local.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/Local.cpp

bison -d -o .release_build/ptxgrammar.cpp ocelot/parser/implementation/ptxgrammar.yy

g++ -o .release_build/ocelot/ir/implementation/Module.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/Module.cpp

g++ -o .release_build/ocelot/ir/implementation/PTXInstruction.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/PTXInstruction.cpp

g++ -o .release_build/ocelot/ir/implementation/PTXKernel.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/PTXKernel.cpp

g++ -o .release_build/ocelot/ir/implementation/PTXOperand.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/PTXOperand.cpp

g++ -o .release_build/ocelot/ir/implementation/PTXStatement.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/PTXStatement.cpp

g++ -o .release_build/ocelot/ir/implementation/Parameter.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/Parameter.cpp

g++ -o .release_build/ocelot/ir/implementation/Texture.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/ir/implementation/Texture.cpp

g++ -o .release_build/ocelot/analysis/implementation/AffineAnalysis.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/analysis/implementation/AffineAnalysis.cpp

g++ -o .release_build/ocelot/analysis/implementation/Analysis.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/analysis/implementation/Analysis.cpp

g++ -o .release_build/ocelot/analysis/implementation/AnalysisFactory.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/analysis/implementation/AnalysisFactory.cpp

g++ -o .release_build/ocelot/analysis/implementation/BranchInfo.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/analysis/implementation/BranchInfo.cpp

g++ -o .release_build/ocelot/analysis/implementation/ControlDependenceAnalysis.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/analysis/implementation/ControlDependenceAnalysis.cpp

g++ -o .release_build/ocelot/analysis/implementation/ControlTree.os -c -O2 -Wall -std=c++0x -fPIC -Ihydrazine -I. -I/usr/include -I/usr/include -I.release_build -I. ocelot/analysis/implementation/ControlTree.cpp

ocelot/analysis/implementation/ControlTree.cpp:880:6: error: no matching function for call to 'ref'

                                        boost::ref(this), _1, _2));

                                        ^~~~~~~~~~

/usr/local/include/boost/ref.hpp:64:63: note: candidate function [with T = analysis::ControlTree *] not viable: no known conversion from 'analysis::ControlTree *' to 'analysis::ControlTree *&' for 1st argument

template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)

                                                              ^

ocelot/analysis/implementation/ControlTree.cpp:886:6: error: no matching function for call to 'ref'

                                        boost::ref(this), _1, _2));

                                        ^~~~~~~~~~

/usr/local/include/boost/ref.hpp:64:63: note: candidate function [with T = analysis::ControlTree *] not viable: no known conversion from 'analysis::ControlTree *' to 'analysis::ControlTree *&' for 1st argument

template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)

                                                              ^

ocelot/analysis/implementation/ControlTree.cpp:892:6: error: no matching function for call to 'ref'

                                        boost::ref(this), _1, _2));

                                        ^~~~~~~~~~

/usr/local/include/boost/ref.hpp:64:63: note: candidate function [with T = analysis::ControlTree *] not viable: no known conversion from 'analysis::ControlTree *' to 'analysis::ControlTree *&' for 1st argument

template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)

                                                              ^

ocelot/analysis/implementation/ControlTree.cpp:928:9: error: no matching function for call to 'ref'

                                                                boost::ref(this), _1, _2));

                                                                ^~~~~~~~~~

/usr/local/include/boost/ref.hpp:64:63: note: candidate function [with T = analysis::ControlTree *] not viable: no known conversion from 'analysis::ControlTree *' to 'analysis::ControlTree *&' for 1st argument

template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)

                                                              ^

ocelot/analysis/implementation/ControlTree.cpp:1143:9: error: no matching function for call to 'ref'

                                                                boost::ref(this), _1, _2));

                                                                ^~~~~~~~~~

/usr/local/include/boost/ref.hpp:64:63: note: candidate function [with T = analysis::ControlTree *] not viable: no known conversion from 'analysis::ControlTree *' to 'analysis::ControlTree *&' for 1st argument

template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)

                                                              ^

ocelot/analysis/implementation/ControlTree.cpp:1150:9: error: no matching function for call to 'ref'

                                                                boost::ref(this), _1, _2));

                                                                ^~~~~~~~~~

/usr/local/include/boost/ref.hpp:64:63: note: candidate function [with T = analysis::ControlTree *] not viable: no known conversion from 'analysis::ControlTree *' to 'analysis::ControlTree *&' for 1st argument

template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)

                                                              ^

ocelot/analysis/implementation/ControlTree.cpp:1157:9: error: no matching function for call to 'ref'

                                                                boost::ref(this), _1, _2));

                                                                ^~~~~~~~~~

/usr/local/include/boost/ref.hpp:64:63: note: candidate function [with T = analysis::ControlTree *] not viable: no known conversion from 'analysis::ControlTree *' to 'analysis::ControlTree *&' for 1st argument

template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)

                                                              ^

ocelot/analysis/implementation/ControlTree.cpp:1170:9: error: no matching function for call to 'ref'

                                                                boost::ref(this), _1, _2));

                                                                ^~~~~~~~~~

/usr/local/include/boost/ref.hpp:64:63: note: candidate function [with T = analysis::ControlTree *] not viable: no known conversion from 'analysis::ControlTree *' to 'analysis::ControlTree *&' for 1st argument

template<class T> inline reference_wrapper<T> BOOST_REF_CONST ref(T & t)

                                                              ^

8 errors generated.

scons: *** [.release_build/ocelot/analysis/implementation/ControlTree.os] Error 1

Build failed...

Build failed


Any ideas?

Meng Zhang

unread,
Mar 10, 2017, 5:59:05 PM3/10/17
to gpuocelot
Did you solve the problem? I have the same in macOS Sierra.
Reply all
Reply to author
Forward
0 new messages