Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
llvm5
assume-opensuse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File assume-opensuse.patch of Package llvm5
Index: cfe-5.0.0rc1.src/lib/Driver/Distro.cpp =================================================================== --- cfe-5.0.0rc1.src/lib/Driver/Distro.cpp +++ cfe-5.0.0rc1.src/lib/Driver/Distro.cpp @@ -18,6 +18,8 @@ using namespace clang::driver; using namespace clang; static Distro::DistroType DetectDistro(vfs::FileSystem &VFS) { + return Distro::OpenSUSE; +/* llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> File = VFS.getBufferForFile("/etc/lsb-release"); if (File) { @@ -128,7 +130,7 @@ static Distro::DistroType DetectDistro(v if (VFS.exists("/etc/arch-release")) return Distro::ArchLinux; - return Distro::UnknownDistro; + return Distro::UnknownDistro;*/ } Distro::Distro(vfs::FileSystem &VFS) : DistroVal(DetectDistro(VFS)) {} Index: cfe-5.0.0rc1.src/unittests/Driver/CMakeLists.txt =================================================================== --- cfe-5.0.0rc1.src/unittests/Driver/CMakeLists.txt +++ cfe-5.0.0rc1.src/unittests/Driver/CMakeLists.txt @@ -3,7 +3,6 @@ set(LLVM_LINK_COMPONENTS ) add_clang_unittest(ClangDriverTests - DistroTest.cpp ToolChainTest.cpp MultilibTest.cpp )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor