-Read location of compiler and find library path based on that
-Set -L option to CXXFLAGS which will be used during linking and set LD_LIBRARY_PATH to shell environment
Details
- Reviewers
sivachandra vharron
Diff Detail
Event Timeline
zorg/buildbot/builders/LLDBBuilder.py | ||
---|---|---|
294 | Something tells me we should always do this getLibPath or only skip it for gcc4.8 For example, if we add support for gcc 5.0, we want this. Also, does this affect Android builds? Maybe we should only be adding this lib path on Linux builds? |
zorg/buildbot/builders/LLDBBuilder.py | ||
---|---|---|
294 | As suggested by Siva offline, it would be the best if we could somehow set libpath when building the compiler, i.e. the compiler will always go to a particular directory to load libraries. Do you know if there's a way to achieve this from host machine rather than during buildbot steps? |
Something tells me we should always do this getLibPath or only skip it for gcc4.8
For example, if we add support for gcc 5.0, we want this.
Also, does this affect Android builds? Maybe we should only be adding this lib path on Linux builds?