support sw_64 arch build
This commit is contained in:
committed by
wangzelin.wzl
parent
addaaac260
commit
9175be1680
10
deps/oblib/src/CMakeLists.txt
vendored
10
deps/oblib/src/CMakeLists.txt
vendored
@ -40,6 +40,16 @@ else()
|
||||
-Wno-psabi -Wno-sign-compare -Wno-unused-variable ${ARCH_COMPILE_OPTIONS}
|
||||
$<$<COMPILE_LANGUAGE:C>:-Wno-old-style-declaration>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:-Wno-literal-suffix -Wno-invalid-offsetof>)
|
||||
|
||||
if(${ARCHITECTURE} STREQUAL "sw_64")
|
||||
target_compile_options(oblib_base_base
|
||||
INTERFACE
|
||||
-Wno-type-limits -Wno-implicit-fallthrough -Wno-deprecated-declarations
|
||||
-Wno-nonnull-compare -Wno-tautological-compare -Wno-extra -Wno-parentheses
|
||||
-Wno-memset-elt-size -Wno-comment -Wno-int-in-bool-context -Wno-unused-but-set-parameter
|
||||
-Wno-ignored-qualifiers -Wno-unused-but-set-variable -Wno-unused-value -Wno-format-truncation
|
||||
$<$<COMPILE_LANGUAGE:CXX>:-Wno-class-memaccess -Wno-aligned-new>)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_compile_features(oblib_base_base INTERFACE cxx_std_11)
|
||||
|
||||
1
deps/oblib/src/lib/charset/ob_charset.cpp
vendored
1
deps/oblib/src/lib/charset/ob_charset.cpp
vendored
@ -15,6 +15,7 @@
|
||||
#include "lib/utility/serialization.h"
|
||||
#include "lib/ob_define.h"
|
||||
#include "lib/worker.h"
|
||||
#include "math.h"
|
||||
|
||||
namespace oceanbase {
|
||||
namespace common {
|
||||
|
||||
3
deps/oblib/src/lib/json_type/ob_json_bin.h
vendored
3
deps/oblib/src/lib/json_type/ob_json_bin.h
vendored
@ -460,7 +460,6 @@ private:
|
||||
uint64_t new_val_entry_offset, uint64_t count, uint8_t var_type, int64_t st_pos,
|
||||
ObJsonBuffer &result, ObJBVerType cur_vertype, ObJBVerType dest_vertype) const;
|
||||
|
||||
#define JB_PATH_NODE_LEN sizeof(struct ObJBNodeMeta)
|
||||
|
||||
void stack_update(ObJsonBuffer& stack, uint32_t idx, const ObJBNodeMeta& new_value);
|
||||
int stack_copy(ObJsonBuffer& src, ObJsonBuffer& dst);
|
||||
@ -519,4 +518,4 @@ public:
|
||||
|
||||
} // namespace common
|
||||
} // namespace oceanbase
|
||||
#endif // OCEANBASE_SQL_OB_JSON_BIN
|
||||
#endif // OCEANBASE_SQL_OB_JSON_BIN
|
||||
|
||||
Reference in New Issue
Block a user