lide-reed closed pull request #526: Remove useless check, not need lsb_release
any more
URL: https://github.com/apache/incubator-doris/pull/526
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.gitignore b/.gitignore
index b9bce7bf..5c8ed763 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ docs/build
gensrc/build
fe/target
thirdparty/src
+*.so.tmp
diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt
index a829efe1..fe4337ad 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -383,31 +383,6 @@ message(STATUS "LLVM compile flags: ${LLVM_CFLAGS}")
# these reasons we need to manually add the system c++ headers to the path
when we
# compile the IR code with clang.
-# Check the release version of the system to set the correct flags.
-# You may have to modify the ${CLANG_BASE_FLAGS} by you own.
-execute_process(COMMAND lsb_release -si OUTPUT_VARIABLE LINUX_VERSION)
-string(TOLOWER ${LINUX_VERSION} LINUX_VERSION_LOWER)
-message(STATUS "${LINUX_VERSION_LOWER}")
-
-# if(DEFINED ENV{CLANG_BASE_FLAGS})
-# set(CLANG_BASE_FLAGS
-# $ENV{CLANG_BASE_FLAGS})
-# elseif(${LINUX_VERSION_LOWER} MATCHES "ubuntu")
-# set(CLANG_BASE_FLAGS
-# "-I/usr/include/c++/5/"
-# "-I/usr/include/x86_64-linux-gnu/c++/5/")
-# elseif(${LINUX_VERSION_LOWER} MATCHES "centos")
-# set(CLANG_BASE_FLAGS
-# "-I/usr/include/c++/4.8.5/"
-# "-I/usr/include/c++/4.8.5/x86_64-redhat-linux/")
-# elseif(${LINUX_VERSION_LOWER} MATCHES "fedora")
-# set(CLANG_BASE_FLAGS
-# "-I/usr/include/c++/7/"
-# "-I/usr/include/c++/7/x86_64-redhat-linux/")
-# else()
-# message(FATAL_ERROR "Currently not support system ${LINUX_VERSION}")
-# endif()
-
if(DEFINED ENV{CLANG_COMPATIBLE_FLAGS})
set(CLANG_COMPATIBLE_FLAGS $ENV{CLANG_COMPATIBLE_FLAGS})
endif()
diff --git
a/be/test/runtime/test_data/user_function_cache/download/1/1.1234.so.tmp
b/be/test/runtime/test_data/user_function_cache/download/1/1.1234.so.tmp
deleted file mode 100644
index 64cb35c2..00000000
Binary files
a/be/test/runtime/test_data/user_function_cache/download/1/1.1234.so.tmp and
/dev/null differ
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]