IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
CMake thinks that the default output on OS X should be 32 bit.
Not sure if this is related to ccache or the env/virtualization they run.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Also fix trying to report why compiler invocation failed when it was never attempted.
Add message about build being probably being configured incorrectly.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Instead call it at the end of cling::createCI (that should probably change too).
clang::ApplyHeaderSearchOptions is a very heavy-weight function that does a lot
of work to determine and add system headers. More importantly it can also wind
up invalidating clangs internal cache making inclusion of files later impossible.
By using the lighter HeaderSearchOptions::AddSearchPath we not only avoid redoing
a lot of work that has been done, but can adjust the method in clang to avoid
cache invalidation so that calling Interpreter::AddIncludePath will actually
make the files in that path accessible to clang.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Add optional stream for Interpreter::DumpIncludePath.
This allows for easier debugging of include path during different stages of startup.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
This allows a user to prepend to CLING_INCLUDE_PATHS any additional include paths
they want to add on startup.
Refactor common path splitting code into Utils/Paths
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Generate C++ include paths at compile time, fallback to absolute path of compiler cling was built with, and finally relative/PATH invocation.
Previously if cling was built with wrapper to a compiler like ccache, then there was a
good chance the wrapper would be invoked to find C++ headers, meaning it would fail unless the user also had said wrapper.
This commit also:
Changes LLVM_CXX macro to CLING_CXX_PATH.
Fixes cling-compiledata.h not being updated after changes to
cling-compiledata.h.in have occurred.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
The string searching was broken on Fedora 23.
Stop searching for system paths the moment when failure is known.
Read pipe with a larger buffer.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
If the compiler is clang this flag is very important in determinig where it will look.
Don't set the argument if the user has provided it though.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Previously cling was basically unusable on OS X unless the CommandLineTools were
installed. Now if XCode is installed the system headers from an SDK can be used.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Rename AddHostCXXIncludes to AddHostIncludes and delineate between -nostdinc++
and -nobuiltininc. When cling is invoked with -nobuiltininc, do not #include any runtime
files on startup. Make ABI incompatability error consistent across platforms and add a test to verify behavior when this occurs.
More importantly this allow for easier debugging of Decl unloading as the amount of
declarations on startup is greatly reduced.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
When built with libc++ try to use a version of clang that sits next to cling to determine
C++ header paths. Fallback to LLVM_CXX if no paths were added.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
Some compilers are complaining about the mismatching exception specifications
between destructors of InterpreterException and its subclasses.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>