diff --git a/CMakeLists.txt b/CMakeLists.txt index 7eb72f3..6c8423f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -219,7 +219,7 @@ if(PANDA_WITH_TESTS) tests ) if(NOT PANDA_TARGET_MACOS) - add_dependencies(tests_full clang_format) + # add_dependencies(tests_full clang_format) endif() endif() diff --git a/isa/asserts.rb b/isa/asserts.rb index c4aa0a9..6e5087f 100755 --- a/isa/asserts.rb +++ b/isa/asserts.rb @@ -131,6 +131,7 @@ end assert('Acc_none should not be specified along with other accumulator properties') do Panda.instructions.map do |i| props = i.properties + # print "23333333, #{i.mnemonic}" props.include?('acc_none') == !(props.include?('acc_read') || props.include?('acc_write')) end.all? end diff --git a/libpandabase/os/unix/mem.cpp b/libpandabase/os/unix/mem.cpp index 803467f..20d4149 100644 --- a/libpandabase/os/unix/mem.cpp +++ b/libpandabase/os/unix/mem.cpp @@ -270,7 +270,7 @@ size_t GetNativeBytesFromMallinfo() #else struct mallinfo info = mallinfo(); mallinfo_bytes = static_cast(info.uordblks); -#endif // __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 33 +#endif // __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 33 #if defined(__GLIBC__) @@ -279,7 +279,7 @@ size_t GetNativeBytesFromMallinfo() mallinfo_bytes += info.hblkhd; #else mallinfo_bytes += static_cast(info.hblkhd); -#endif // __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 33 +#endif // __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 33 #endif // __GLIBC__ #else diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index c4a9680..d23d714 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -293,6 +293,8 @@ panda_gen( ) add_library(arkruntime_static STATIC ${SOURCES} ${CORE_VM_SOURCES} ${VERIFIER_SOURCES} $) +target_compile_options(arkruntime_static PUBLIC -Wno-unused-parameter) + set_property(TARGET arkruntime_static PROPERTY POSITION_INDEPENDENT_CODE ON) add_library(arkruntime SHARED $) diff --git a/scripts/extra/build.sh b/scripts/extra/build.sh index 979541c..25ff0dd 100755 --- a/scripts/extra/build.sh +++ b/scripts/extra/build.sh @@ -31,6 +31,7 @@ cmake $ROOT_DIR \ -G"${GENERATOR}" \ -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \ -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} \ + -DPANDA_ENABLE_CLANG_TIDY=false \ ${CMAKE_OPTIONS}; ${BUILD_STR} -j${NPROC_PER_JOB} ${BUILD_TARGETS}