Skip to content

Commit 179fbcb

Browse files
Release version 0.5.1 (#151)
1 parent 1843292 commit 179fbcb

File tree

11 files changed

+51
-17
lines changed

11 files changed

+51
-17
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.14)
22

3-
set(VERSION "0.5.0")
3+
set(VERSION "0.5.1")
44
set(SOVERSION 15)
55
project(
66
cpuid

ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,15 @@ Version 0.5.0 (2020-05-23):
8282
fix detection of L3 cache on Zen 2
8383
* Support for RDSEED/ADX/SHA_NI detection (AMD)
8484
* Support for ABM/AVX512VBMI/AVX512VBMI2 detection (Intel)
85+
86+
Version 0.5.1 (2021-03-20):
87+
* Convert all python scripts to Python 3
88+
* Support for Kaby Lake Refresh
89+
* Support for Kaby Lake-G
90+
* Support for Comet Lake-U
91+
* Support for Gemini Lake
92+
* Support for Vermeer
93+
* Support for Whiskey Lake-U
94+
* Support for Cezanne
95+
* Support for Milan
96+
* Support for Rocket Lake

bump_version.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ NEW_VERSION="$1"
1111
SO_VERSION="$2"
1212
DATE="$(date '+%Y-%m-%d')"
1313

14+
if ! [[ "$SO_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
15+
echo "$0: SO_VERSION must contain dots (e.g. '15.0.1')"
16+
exit 1
17+
fi
18+
1419
echo -e "\nVersion $NEW_VERSION ($DATE):" >> "$GIT_DIR/ChangeLog"
1520
sed -i "s|\[$OLD_VERSION\]|\[$NEW_VERSION\]|" "$GIT_DIR/configure.ac"
1621
sed -i "s|LIBCPUID_CURRENT=.*|dnl $(echo $SO_VERSION | tr . :) Version $NEW_VERSION:\nLIBCPUID_CURRENT=$(echo $SO_VERSION | cut -d. -f1)|" "$GIT_DIR/configure.ac"

configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([libcpuid CPU Identification library], [0.5.0], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
1+
AC_INIT([libcpuid CPU Identification library], [0.5.1], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
22
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
33
AC_CONFIG_HEADERS([config.h])
44
AC_CONFIG_MACRO_DIR([m4])
@@ -24,9 +24,10 @@ dnl 13:0:0 Version 0.3.0: increment max Intel leaf 04 entries to 8
2424
dnl 14:0:0 Version 0.4.0: add one more field per cpu_raw_data_t and cpu_id_t
2525
dnl 14:0:1 Version 0.4.1: DB updates, and a lot of rdmsr improvements
2626
dnl 15:0:0 Version 0.5.0: add one more field per cpu_raw_data_t (amd_fn8000001dh) and cpu_id_t l1_{data,instruction}_{assoc,cacheline}
27+
dnl 15:0:1 Version 0.5.1: DB updates
2728
LIBCPUID_CURRENT=15
2829
LIBCPUID_AGE=0
29-
LIBCPUID_REVISION=0
30+
LIBCPUID_REVISION=1
3031
AC_SUBST([LIBCPUID_AGE])
3132
AC_SUBST([LIBCPUID_REVISION])
3233
AC_SUBST([LIBCPUID_CURRENT])

debian/changelog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
libcpuid (0.5.1) unstable; urgency=low
2+
3+
* Convert all python scripts to Python 3
4+
* Support for Kaby Lake Refresh
5+
* Support for Kaby Lake-G
6+
* Support for Comet Lake-U
7+
* Support for Gemini Lake
8+
* Support for Vermeer
9+
* Support for Whiskey Lake-U
10+
* Support for Cezanne
11+
* Support for Milan
12+
* Support for Rocket Lake
13+
14+
-- Georgiev, Veselin <anrieff@gmail.com> Sat, 20 March 2021 17:42:00 +0100
15+
116
libcpuid (0.5.0) unstable; urgency=low
217

318
* A backwards-incompatible change, since the sizeof cpu_raw_data_t and

libcpuid/Makefile.x64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ all: libcpuid.lib
55
ASM = ml64 /nologo
66
CC = cl.exe /nologo /TC
77
OPTFLAGS = /MT
8-
DEFINES = /D "VERSION=\"0.5.0\""
8+
DEFINES = /D "VERSION=\"0.5.1\""
99
OBJECTS = masm-x64.obj asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_intel.obj rdtsc.obj
1010

1111
libcpuid.lib: $(OBJECTS)

libcpuid/Makefile.x86

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ all: libcpuid.lib
1212

1313
CC = cl.exe /nologo /TC
1414
OPTFLAGS = /MT
15-
DEFINES = /D "VERSION=\"0.5.0\""
15+
DEFINES = /D "VERSION=\"0.5.1\""
1616
OBJECTS = asm-bits.obj cpuid_main.obj libcpuid_util.obj recog_amd.obj recog_intel.obj rdtsc.obj
1717

1818
libcpuid.lib: $(OBJECTS)

libcpuid/libcpuid.dsp

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libcpuid/libcpuid.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* \file libcpuid.h
3030
* \author Veselin Georgiev
3131
* \date Oct 2008
32-
* \version 0.5.0
32+
* \version 0.5.1
3333
*
3434
* Version history:
3535
*
@@ -61,6 +61,7 @@
6161
* * 0.5.0 (2020-05-23): A lot of DB updates, detection of new CPU features,
6262
* (a backwards-incompatible change since the sizeof
6363
* cpu_raw_data_t and cpu_id_t is now different).
64+
* * 0.5.1 (2021-03-20): A lot of DB updates
6465
*/
6566

6667
/** @mainpage A simple libcpuid introduction

libcpuid/libcpuid_vc10.vcxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
103103
<ClCompile>
104104
<Optimization>Disabled</Optimization>
105-
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.5.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
105+
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
106106
<MinimalRebuild>true</MinimalRebuild>
107107
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
108108
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@@ -117,7 +117,7 @@
117117
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
118118
<ClCompile>
119119
<Optimization>Disabled</Optimization>
120-
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.5.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
120+
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
121121
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
122122
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
123123
<PrecompiledHeader>
@@ -130,7 +130,7 @@
130130
</ItemDefinitionGroup>
131131
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
132132
<ClCompile>
133-
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
133+
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
134134
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
135135
<PrecompiledHeader>
136136
</PrecompiledHeader>
@@ -142,7 +142,7 @@
142142
</ItemDefinitionGroup>
143143
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
144144
<ClCompile>
145-
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
145+
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
146146
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
147147
<PrecompiledHeader>
148148
</PrecompiledHeader>
@@ -157,7 +157,7 @@
157157
</ItemDefinitionGroup>
158158
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
159159
<ClCompile>
160-
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
160+
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
161161
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
162162
<PrecompiledHeader>
163163
</PrecompiledHeader>
@@ -169,7 +169,7 @@
169169
</ItemDefinitionGroup>
170170
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
171171
<ClCompile>
172-
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.0";%(PreprocessorDefinitions)</PreprocessorDefinitions>
172+
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;VERSION="0.5.1";%(PreprocessorDefinitions)</PreprocessorDefinitions>
173173
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
174174
<PrecompiledHeader>
175175
</PrecompiledHeader>

libcpuid/libcpuid_vc71.vcproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Tool
2020
Name="VCCLCompilerTool"
2121
Optimization="0"
22-
PreprocessorDefinitions="VERSION=\&quot;0.5.0\&quot;"
22+
PreprocessorDefinitions="VERSION=\&quot;0.5.1\&quot;"
2323
MinimalRebuild="TRUE"
2424
BasicRuntimeChecks="3"
2525
RuntimeLibrary="3"
@@ -60,7 +60,7 @@
6060
CharacterSet="2">
6161
<Tool
6262
Name="VCCLCompilerTool"
63-
PreprocessorDefinitions="VERSION=\&quot;0.5.0\&quot;"
63+
PreprocessorDefinitions="VERSION=\&quot;0.5.1\&quot;"
6464
RuntimeLibrary="2"
6565
UsePrecompiledHeader="0"
6666
WarningLevel="3"
@@ -99,7 +99,7 @@
9999
CharacterSet="2">
100100
<Tool
101101
Name="VCCLCompilerTool"
102-
PreprocessorDefinitions="VERSION=\&quot;0.5.0\&quot;"
102+
PreprocessorDefinitions="VERSION=\&quot;0.5.1\&quot;"
103103
RuntimeLibrary="2"
104104
UsePrecompiledHeader="0"
105105
WarningLevel="3"

0 commit comments

Comments
 (0)