Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libcpuid for openSUSE:Factory checked in at 2021-08-27 21:43:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcpuid (Old) and /work/SRC/openSUSE:Factory/.libcpuid.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcpuid" Fri Aug 27 21:43:56 2021 rev:10 rq:914539 version:0.5.1+git.1626502835 Changes: -------- --- /work/SRC/openSUSE:Factory/libcpuid/libcpuid.changes 2021-04-06 17:31:29.479239790 +0200 +++ /work/SRC/openSUSE:Factory/.libcpuid.new.1899/libcpuid.changes 2021-08-27 21:45:05.486053693 +0200 @@ -1,0 +2,14 @@ +Fri Aug 27 08:35:35 UTC 2021 - Martin Pluskal <[email protected]> + +- Update to version 0.5.1+git.1626502835: + * CMake: reduce min cmake requirement 3.14 -> 3.13 + * Fix failing CI builds introduced by cb5fdd1 + * Use popcount64 from libc when available (#152) + * allow to build either static or shared (#156) + * cmake: allow libcpuid to be added as a CMake subproject (#155) + * fix installation of BUNDLE if iOS (#154) + * cmake: add an option to build tests (#153) + * Fix #150: CPU Family/Model is used as Ext.Family/Model + * DB: add Tiger Lake + +------------------------------------------------------------------- Old: ---- libcpuid-0.5.1+git.1616323866.obscpio New: ---- libcpuid-0.5.1+git.1626502835.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcpuid.spec ++++++ --- /var/tmp/diff_new_pack.k38NpQ/_old 2021-08-27 21:45:06.250054604 +0200 +++ /var/tmp/diff_new_pack.k38NpQ/_new 2021-08-27 21:45:06.258054614 +0200 @@ -18,7 +18,7 @@ %define so_ver 15 Name: libcpuid -Version: 0.5.1+git.1616323866 +Version: 0.5.1+git.1626502835 Release: 0 Summary: Library providing x86 CPU identification License: BSD-2-Clause ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.k38NpQ/_old 2021-08-27 21:45:06.342054714 +0200 +++ /var/tmp/diff_new_pack.k38NpQ/_new 2021-08-27 21:45:06.346054719 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">[email protected]:anrieff/libcpuid.git</param> - <param name="changesrevision">ccd0ec842652aa094c4f95d3509a96c27fdc202f</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">7a580fd2b27ec4b0579839908fc464f804792eed</param></service></servicedata> \ No newline at end of file ++++++ libcpuid-0.5.1+git.1616323866.obscpio -> libcpuid-0.5.1+git.1626502835.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/.github/workflows/unix.yml new/libcpuid-0.5.1+git.1626502835/.github/workflows/unix.yml --- old/libcpuid-0.5.1+git.1616323866/.github/workflows/unix.yml 2021-03-21 11:51:06.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/.github/workflows/unix.yml 2021-07-17 08:20:35.000000000 +0200 @@ -24,7 +24,7 @@ - uses: actions/checkout@v2 - name: Generate build system - run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" + run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" -DLIBCPUID_TESTS:BOOL=ON - name: Build run: cmake --build build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/.gitignore new/libcpuid-0.5.1+git.1626502835/.gitignore --- old/libcpuid-0.5.1+git.1616323866/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/.gitignore 2021-07-17 08:20:35.000000000 +0200 @@ -0,0 +1,45 @@ +*~ +*.lo +*.la +*.o +*.obj +libtool +ltmain.sh +configure +missing +stamp-h1 +Makefile +Makefile.in +aclocal.m4 +m4 +autom4te.cache +config.guess +config.h.in +config.h +config.log +config.status +config.sub +*/.deps +*/.libs +cpuid_tool/cpuid_tool +depcomp +install-sh +libcpuid.pc +libcpuid/docs +libcpuid/Doxyfile +libcpuid/doxyfile.stamp +ar-lib +compile +ipch +*.opensdf +*.sdf +*.suo +libcpuid/x32 +libcpuid/x64 +cpuid_tool/x32 +cpuid_tool/x64 +*.vcxproj.user +tests/convert_instlatx64 +build +docs +.vscode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/CMakeLists.txt new/libcpuid-0.5.1+git.1626502835/CMakeLists.txt --- old/libcpuid-0.5.1+git.1616323866/CMakeLists.txt 2021-03-21 11:51:06.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/CMakeLists.txt 2021-07-17 08:20:35.000000000 +0200 @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.13) set(VERSION "0.5.1") set(SOVERSION 15) @@ -7,11 +7,20 @@ LANGUAGES C CXX ASM_MASM VERSION ${VERSION}) +if(MSVC) + set(LIBCPUID_SHARED OFF) +else() + set(LIBCPUID_SHARED ON) +endif() +option(BUILD_SHARED_LIBS "Build shared lib" ${LIBCPUID_SHARED}) + +option(LIBCPUID_TESTS "Enable building tests" OFF) + set(CMAKE_CXX_STANDARD 11) set(CMAKE_C_STANDARD 99) # Global variables -set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") +list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") if(UNIX) include(GNUInstallDirs) @@ -27,4 +36,6 @@ # Include subdirectories add_subdirectory(libcpuid) add_subdirectory(cpuid_tool) -add_subdirectory(tests) +if(LIBCPUID_TESTS) + add_subdirectory(tests) +endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/configure.ac new/libcpuid-0.5.1+git.1626502835/configure.ac --- old/libcpuid-0.5.1+git.1616323866/configure.ac 2021-03-21 11:51:06.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/configure.ac 2021-07-17 08:20:35.000000000 +0200 @@ -43,6 +43,8 @@ AM_CPPFLAGS="$CPPFLAGS" AC_CHECK_HEADERS([stdint.h]) +AC_CHECK_FUNCS([popcount64]) + AC_CHECK_PROGS([DOXYGEN], [doxygen]) AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/cpuid_tool/CMakeLists.txt new/libcpuid-0.5.1+git.1626502835/cpuid_tool/CMakeLists.txt --- old/libcpuid-0.5.1+git.1616323866/cpuid_tool/CMakeLists.txt 2021-03-21 11:51:06.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/cpuid_tool/CMakeLists.txt 2021-07-17 08:20:35.000000000 +0200 @@ -12,5 +12,5 @@ CONFIGURATIONS Release RUNTIME DESTINATION bin/Release) else() - install(TARGETS cpuid_tool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + install(TARGETS cpuid_tool DESTINATION ${CMAKE_INSTALL_BINDIR}) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/libcpuid/CMakeLists.txt new/libcpuid-0.5.1+git.1626502835/libcpuid/CMakeLists.txt --- old/libcpuid-0.5.1+git.1616323866/libcpuid/CMakeLists.txt 2021-03-21 11:51:06.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/libcpuid/CMakeLists.txt 2021-07-17 08:20:35.000000000 +0200 @@ -12,11 +12,8 @@ list(APPEND cpuid_sources masm-x64.asm) endif() -if(UNIX) - add_library(cpuid SHARED ${cpuid_sources}) -else() - add_library(cpuid ${cpuid_sources}) -endif() +add_library(cpuid ${cpuid_sources}) +set_property(TARGET cpuid PROPERTY WINDOWS_EXPORT_ALL_SYMBOLS ON) target_include_directories(cpuid SYSTEM PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>) target_compile_definitions(cpuid PRIVATE VERSION="${PROJECT_VERSION}") @@ -67,7 +64,7 @@ write_basic_package_version_file("${version_config}" COMPATIBILITY SameMajorVersion) # Configure '<PROJECT-NAME>Config.cmake' Use variables: * TARGETS_EXPORT_NAME * PROJECT_NAME -configure_package_config_file("${CMAKE_MODULE_PATH}/Config.cmake.in" "${project_config}" +configure_package_config_file("${PROJECT_SOURCE_DIR}/cmake/Config.cmake.in" "${project_config}" INSTALL_DESTINATION "${config_install_dir}") # Installation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/libcpuid/libcpuid.h new/libcpuid-0.5.1+git.1626502835/libcpuid/libcpuid.h --- old/libcpuid-0.5.1+git.1616323866/libcpuid/libcpuid.h 2021-03-21 11:51:06.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/libcpuid/libcpuid.h 2021-07-17 08:20:35.000000000 +0200 @@ -247,19 +247,22 @@ */ uint8_t flags[CPU_FLAGS_MAX]; - /** CPU family */ + /** CPU family (BaseFamily[3:0]) */ int32_t family; - /** CPU model */ + /** CPU model (BaseModel[3:0]) */ int32_t model; /** CPU stepping */ int32_t stepping; - /** CPU extended family */ + /** CPU display ("true") family (computed as BaseFamily[3:0]+ExtendedFamily[7:0]) */ int32_t ext_family; - /** CPU extended model */ + /** + * CPU display ("true") model (computed as (ExtendedModel[3:0]<<4) + BaseModel[3:0]) + * For detailed discussion about what BaseModel / ExtendedModel / Model are, see Github issue #150. + */ int32_t ext_model; /** Number of CPU cores on the current processor */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/libcpuid/libcpuid_util.c new/libcpuid-0.5.1+git.1626502835/libcpuid/libcpuid_util.c --- old/libcpuid-0.5.1+git.1616323866/libcpuid/libcpuid_util.c 2021-03-21 11:51:06.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/libcpuid/libcpuid_util.c 2021-07-17 08:20:35.000000000 +0200 @@ -29,6 +29,9 @@ #include <stdarg.h> #include <string.h> #include <ctype.h> +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "libcpuid.h" #include "libcpuid_util.h" @@ -74,9 +77,10 @@ _warn_fun(buff); } -static int popcount64(uint64_t mask) +#ifndef HAVE_POPCOUNT64 +static unsigned int popcount64(uint64_t mask) { - int num_set_bits = 0; + unsigned int num_set_bits = 0; while (mask) { mask &= mask - 1; @@ -85,6 +89,7 @@ return num_set_bits; } +#endif static int score(const struct match_entry_t* entry, const struct cpu_id_t* data, int brand_code, uint64_t bits, int model_code) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/libcpuid/recog_intel.c new/libcpuid-0.5.1+git.1626502835/libcpuid/recog_intel.c --- old/libcpuid-0.5.1+git.1616323866/libcpuid/recog_intel.c 2021-03-21 11:51:06.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/libcpuid/recog_intel.c 2021-07-17 08:20:35.000000000 +0200 @@ -415,6 +415,14 @@ { 6, 10, -1, -1, 122, 4, -1, -1, NC, PENTIUM_ , 0, "Gemini Lake (Pentium)" }, { 6, 10, -1, -1, 122, 4, -1, -1, NC, CELERON_ , 0, "Gemini Lake (Celeron)" }, { 6, 10, -1, -1, 122, 2, -1, -1, NC, CELERON_ , 0, "Gemini Lake (Celeron)" }, + + /* Tiger Lake CPUs (11th gen, 10nm, mobile processors): */ + { 6, 12, -1, -1, 140, -1, -1, -1, NC, CORE_|_I_|_9 ,_11xxx, "Tiger Lake (Core i9)" }, + { 6, 12, -1, -1, 140, -1, -1, -1, NC, CORE_|_I_|_7 ,_11xxx, "Tiger Lake (Core i7)" }, + { 6, 12, -1, -1, 140, -1, -1, -1, NC, CORE_|_I_|_5 ,_11xxx, "Tiger Lake (Core i5)" }, + { 6, 12, -1, -1, 140, -1, -1, -1, NC, CORE_|_I_|_3 ,_11xxx, "Tiger Lake (Core i3)" }, + { 6, 12, -1, -1, 140, 2, -1, -1, NC, PENTIUM_ , 0, "Tiger Lake (Pentium)" }, + { 6, 12, -1, -1, 140, 2, -1, -1, NC, CELERON_ , 0, "Tiger Lake (Celeron)" }, /* F M S EF EM C L2 L3 Brand */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcpuid-0.5.1+git.1616323866/tests/intel/lakes/tiger-lake-i5.test new/libcpuid-0.5.1+git.1626502835/tests/intel/lakes/tiger-lake-i5.test --- old/libcpuid-0.5.1+git.1616323866/tests/intel/lakes/tiger-lake-i5.test 1970-01-01 01:00:00.000000000 +0100 +++ new/libcpuid-0.5.1+git.1626502835/tests/intel/lakes/tiger-lake-i5.test 2021-07-17 08:20:35.000000000 +0200 @@ -0,0 +1,106 @@ +basic_cpuid[0]=0000001b 756e6547 6c65746e 49656e69 +basic_cpuid[1]=000806c1 03100800 7ffafbbf bfebfbff +basic_cpuid[2]=00feff01 000000f0 00000000 00000000 +basic_cpuid[3]=00000000 00000000 00000000 00000000 +basic_cpuid[4]=1c004121 02c0003f 0000003f 00000000 +basic_cpuid[5]=00000040 00000040 00000003 11121020 +basic_cpuid[6]=0017eff7 00000002 00000009 00000000 +basic_cpuid[7]=00000000 f3bfa7eb 18c05fde fc100510 +basic_cpuid[8]=00000000 00000000 00000000 00000000 +basic_cpuid[9]=00000000 00000000 00000000 00000000 +basic_cpuid[10]=08300805 00000000 0000000f 00008604 +basic_cpuid[11]=00000001 00000002 00000100 00000003 +basic_cpuid[12]=00000000 00000000 00000000 00000000 +basic_cpuid[13]=000002e7 00000a88 00000a88 00000000 +basic_cpuid[14]=00000000 00000000 00000000 00000000 +basic_cpuid[15]=00000000 00000000 00000000 00000000 +basic_cpuid[16]=00000000 00000004 00000000 00000000 +basic_cpuid[17]=00000000 00000000 00000000 00000000 +basic_cpuid[18]=00000000 00000000 00000000 00000000 +basic_cpuid[19]=00000000 00000000 00000000 00000000 +basic_cpuid[20]=00000001 0000004f 00000007 00000000 +basic_cpuid[21]=00000002 0000007e 0249f000 00000000 +basic_cpuid[22]=00000960 00001068 00000064 00000000 +basic_cpuid[23]=00000000 00000000 00000000 00000000 +basic_cpuid[24]=00000008 00000000 00000000 00000000 +basic_cpuid[25]=00000007 00000014 00000003 00000000 +basic_cpuid[26]=00000000 00000000 00000000 00000000 +basic_cpuid[27]=00000000 00000000 00000000 00000000 +basic_cpuid[28]=00000000 00000000 00000000 00000000 +basic_cpuid[29]=00000000 00000000 00000000 00000000 +basic_cpuid[30]=00000000 00000000 00000000 00000000 +basic_cpuid[31]=00000000 00000000 00000000 00000000 +ext_cpuid[0]=80000008 00000000 00000000 00000000 +ext_cpuid[1]=00000000 00000000 00000121 2c100800 +ext_cpuid[2]=68743131 6e654720 746e4920 52286c65 +ext_cpuid[3]=6f432029 54286572 6920294d 31312d35 +ext_cpuid[4]=37473533 32204020 4730342e 00007a48 +ext_cpuid[5]=00000000 00000000 00000000 00000000 +ext_cpuid[6]=00000000 00000000 01007040 00000000 +ext_cpuid[7]=00000000 00000000 00000000 00000100 +ext_cpuid[8]=00003027 00000000 00000000 00000000 +ext_cpuid[9]=00000000 00000000 00000000 00000000 +ext_cpuid[10]=00000000 00000000 00000000 00000000 +ext_cpuid[11]=00000000 00000000 00000000 00000000 +ext_cpuid[12]=00000000 00000000 00000000 00000000 +ext_cpuid[13]=00000000 00000000 00000000 00000000 +ext_cpuid[14]=00000000 00000000 00000000 00000000 +ext_cpuid[15]=00000000 00000000 00000000 00000000 +ext_cpuid[16]=00000000 00000000 00000000 00000000 +ext_cpuid[17]=00000000 00000000 00000000 00000000 +ext_cpuid[18]=00000000 00000000 00000000 00000000 +ext_cpuid[19]=00000000 00000000 00000000 00000000 +ext_cpuid[20]=00000000 00000000 00000000 00000000 +ext_cpuid[21]=00000000 00000000 00000000 00000000 +ext_cpuid[22]=00000000 00000000 00000000 00000000 +ext_cpuid[23]=00000000 00000000 00000000 00000000 +ext_cpuid[24]=00000000 00000000 00000000 00000000 +ext_cpuid[25]=00000000 00000000 00000000 00000000 +ext_cpuid[26]=00000000 00000000 00000000 00000000 +ext_cpuid[27]=00000000 00000000 00000000 00000000 +ext_cpuid[28]=00000000 00000000 00000000 00000000 +ext_cpuid[29]=00000000 00000000 00000000 00000000 +ext_cpuid[30]=00000000 00000000 00000000 00000000 +ext_cpuid[31]=00000000 00000000 00000000 00000000 +intel_fn4[0]=1c004121 02c0003f 0000003f 00000000 +intel_fn4[1]=1c004122 01c0003f 0000003f 00000000 +intel_fn4[2]=1c004143 04c0003f 000003ff 00000000 +intel_fn4[3]=1c03c163 01c0003f 00003fff 00000004 +intel_fn4[4]=00000000 00000000 00000000 00000000 +intel_fn4[5]=00000000 00000000 00000000 00000000 +intel_fn4[6]=00000000 00000000 00000000 00000000 +intel_fn4[7]=00000000 00000000 00000000 00000000 +intel_fn11[0]=00000001 00000002 00000100 00000003 +intel_fn11[1]=00000004 00000008 00000201 00000003 +intel_fn11[2]=00000000 00000000 00000002 00000003 +intel_fn11[3]=00000000 00000000 00000003 00000003 +amd_fn8000001dh[0]=00000000 00000000 00000000 00000000 +amd_fn8000001dh[1]=00000000 00000000 00000000 00000000 +amd_fn8000001dh[2]=00000000 00000000 00000000 00000000 +amd_fn8000001dh[3]=00000000 00000000 00000000 00000000 +-------------------------------------------------------------------------------- +6 +12 +1 +6 +140 +4 +8 +48 +32 +1280 +8192 +-1 +12 +8 +20 +8 +-1 +64 +64 +64 +64 +-1 +128 (non-authoritative) +Tiger Lake (Core i5) +fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni pclmul dts64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 syscall xd movbe popcnt aes xsave osxsave avx rdtscp lm lahf_lm abm constant_tsc fma3 f16c rdrand x2apic avx2 bmi1 bmi2 avx512f avx512dq avx512cd sha_ni avx512bw avx512vl rdseed adx avx512vnni avx512vbmi avx512vbmi2 ++++++ libcpuid.obsinfo ++++++ --- /var/tmp/diff_new_pack.k38NpQ/_old 2021-08-27 21:45:06.542054952 +0200 +++ /var/tmp/diff_new_pack.k38NpQ/_new 2021-08-27 21:45:06.546054957 +0200 @@ -1,5 +1,5 @@ name: libcpuid -version: 0.5.1+git.1616323866 -mtime: 1616323866 -commit: ccd0ec842652aa094c4f95d3509a96c27fdc202f +version: 0.5.1+git.1626502835 +mtime: 1626502835 +commit: 7a580fd2b27ec4b0579839908fc464f804792eed
