Skip to content

Commit a2aaff7

Browse files
authored
Merge branch 'xmrig:master' into master
2 parents bcd1d6c + 4ab9329 commit a2aaff7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+5144
-3739
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Steps to reproduce the behavior.
1717
A clear and concise description of what you expected to happen.
1818

1919
**Required data**
20+
- XMRig version
21+
- Either the exact link to a release you downloaded from https://github.com/xmrig/xmrig/releases
22+
- Or the exact command lines that you used to build XMRig
2023
- Miner log as text or screenshot
2124
- Config file or command line (without wallets)
2225
- OS: [e.g. Windows]

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# v6.21.2
2+
- The dependencies of all prebuilt releases have been updated. Support for old Ubuntu releases has been dropped.
3+
- [#2800](https://github.com/xmrig/xmrig/issues/2800) Fixed donation with GhostRider algorithm for builds without KawPow algorithm.
4+
- [#3436](https://github.com/xmrig/xmrig/pull/3436) Fixed, the file log writer was not thread-safe.
5+
- [#3450](https://github.com/xmrig/xmrig/pull/3450) Fixed RandomX crash when compiled with fortify_source.
6+
7+
# v6.21.1
8+
- [#3391](https://github.com/xmrig/xmrig/pull/3391) Added support for townforge (monero fork using randomx).
9+
- [#3399](https://github.com/xmrig/xmrig/pull/3399) Fixed Zephyr mining (OpenCL).
10+
- [#3420](https://github.com/xmrig/xmrig/pull/3420) Fixed segfault in HTTP API rebind.
11+
112
# v6.21.0
213
- [#3302](https://github.com/xmrig/xmrig/pull/3302) [#3312](https://github.com/xmrig/xmrig/pull/3312) Enabled keepalive for Windows (>= Vista).
314
- [#3320](https://github.com/xmrig/xmrig/pull/3320) Added "built for OS/architecture/bits" to "ABOUT".

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.1)
1+
cmake_minimum_required(VERSION 3.5)
22
project(xmrig)
33

44
option(WITH_HWLOC "Enable hwloc support" ON)
@@ -162,7 +162,7 @@ if (XMRIG_OS_WIN)
162162
src/crypto/common/VirtualMemory_win.cpp
163163
)
164164

165-
set(EXTRA_LIBS ws2_32 psapi iphlpapi userenv)
165+
set(EXTRA_LIBS ws2_32 psapi iphlpapi userenv dbghelp)
166166
elseif (XMRIG_OS_APPLE)
167167
list(APPEND SOURCES_OS
168168
src/App_unix.cpp

doc/CHANGELOG_OLD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256

257257
# v2.8.0
258258
- **[#753](https://github.com/xmrig/xmrig/issues/753) Added new algorithm [CryptoNight variant 2](https://github.com/xmrig/xmrig/issues/753) for Monero fork, thanks [@SChernykh](https://github.com/SChernykh).**
259-
- Added global and per thread option `"asm"` and and command line equivalent.
259+
- Added global and per thread option `"asm"` and command line equivalent.
260260
- **[#758](https://github.com/xmrig/xmrig/issues/758) Added SSL/TLS support for secure connections to pools.**
261261
- Added per pool options `"tls"` and `"tls-fingerprint"` and command line equivalents.
262262
- [#767](https://github.com/xmrig/xmrig/issues/767) Added config autosave feature, same with GPU miners.

scripts/build.hwloc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#!/bin/bash -e
1+
#!/bin/sh -e
22

33
HWLOC_VERSION_MAJOR="2"
4-
HWLOC_VERSION_MINOR="9"
4+
HWLOC_VERSION_MINOR="10"
55
HWLOC_VERSION_PATCH="0"
66

77
HWLOC_VERSION="${HWLOC_VERSION_MAJOR}.${HWLOC_VERSION_MINOR}.${HWLOC_VERSION_PATCH}"

scripts/build.hwloc1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/sh -e
22

33
HWLOC_VERSION="1.11.13"
44

scripts/build.libressl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/sh -e
22

33
LIBRESSL_VERSION="3.5.2"
44

scripts/build.openssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/sh -e
22

33
OPENSSL_VERSION="1.1.1s"
44

scripts/build.openssl3.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/bin/bash -e
1+
#!/bin/sh -e
22

3-
OPENSSL_VERSION="3.0.7"
3+
OPENSSL_VERSION="3.0.13"
44

55
mkdir -p deps
66
mkdir -p deps/include

scripts/build.uv.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
#!/bin/bash -e
1+
#!/bin/sh -e
22

3-
UV_VERSION="1.44.2"
3+
UV_VERSION="1.48.0"
44

55
mkdir -p deps
66
mkdir -p deps/include
77
mkdir -p deps/lib
88

99
mkdir -p build && cd build
1010

11-
wget https://github.com/libuv/libuv/archive/v${UV_VERSION}.tar.gz -O v${UV_VERSION}.tar.gz
11+
wget https://dist.libuv.org/dist/v${UV_VERSION}/libuv-v${UV_VERSION}.tar.gz -O v${UV_VERSION}.tar.gz
1212
tar -xzf v${UV_VERSION}.tar.gz
1313

14-
cd libuv-${UV_VERSION}
14+
cd libuv-v${UV_VERSION}
1515
sh autogen.sh
1616
./configure --disable-shared
1717
make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu)

scripts/build_deps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#!/bin/bash -e
1+
#!/bin/sh -e
22

33
./build.uv.sh
44
./build.hwloc.sh
5-
./build.openssl.sh
5+
./build.openssl3.sh

scripts/enable_1gb_pages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -e
1+
#!/bin/sh -e
22

33
# https://xmrig.com/docs/miner/hugepages#onegb-huge-pages
44

src/3rdparty/argon2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.1)
1+
cmake_minimum_required(VERSION 3.5)
22

33
project(argon2 C)
44
set(CMAKE_C_STANDARD 99)

src/3rdparty/epee/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.
1+
epee - is a small library of helpers, wrappers, tools and so on, used to make my life easier.

src/3rdparty/hwloc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.1)
1+
cmake_minimum_required(VERSION 3.5)
22
project (hwloc C)
33

44
include_directories(include)

src/3rdparty/hwloc/NEWS

Lines changed: 106 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Copyright © 2009 CNRS
2-
Copyright © 2009-2022 Inria. All rights reserved.
2+
Copyright © 2009-2023 Inria. All rights reserved.
33
Copyright © 2009-2013 Université Bordeaux
44
Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
55
Copyright © 2020 Hewlett Packard Enterprise. All rights reserved.
@@ -17,6 +17,103 @@ bug fixes (and other actions) for each version of hwloc since version
1717
0.9.
1818

1919

20+
Version 2.10.0
21+
--------------
22+
* Heterogeneous Memory core improvements
23+
+ Better heuristics to identify the subtype of memory such as HBM,
24+
DRAM, NVM, CXL-DRAM, etc.
25+
+ Build memory tiers, i.e. sets of NUMA nodes with the same subtype
26+
and similar performance.
27+
- NUMA node tier ranks are exposed in the new MemoryTier info
28+
attribute (starts from 0 for highest bandwidth tier)..
29+
+ See the new Heterogeneous Memory section in the documentation.
30+
* API
31+
+ Add hwloc_topology_free_group_object() to discard a Group created
32+
by hwloc_topology_alloc_group_object().
33+
* Linux backend
34+
+ Fix cpukinds on NVIDIA Grace to report identical cores even if they
35+
actually have very small frequency differences.
36+
Thanks to John C. Linford for the report.
37+
+ Add CXLDevice attributes to CXL DAX objects and NUMA nodes to show
38+
which PCI device implements which window.
39+
+ Ignore buggy memory-side caches and memory attributes when fake NUMA
40+
emulation is enabled on the Linux kernel command-line.
41+
+ Add more info attributes in MemoryModule Misc objects,
42+
thanks to Zubiao Xiong for the patch.
43+
+ Get CPUModel and CPUFamily info attributes on LoongArch platforms.
44+
* x86 backend
45+
+ Add support for new AMD CPUID leaf 0x80000026 for better detection
46+
of Core Complex and Die on Zen4 processors.
47+
+ Improve Zhaoxin CPU topology detection.
48+
* Tools
49+
+ Input locations and many command-line options (e.g. hwloc-calc -I -N -H,
50+
lstopo --only) now accept filters such as "NUMA[HBM]" so that only
51+
objects are that type and subtype are considered.
52+
- NUMA[tier=1] is also accepted for selecting NUMA nodes depending
53+
on their MemoryTier info attribute.
54+
+ Add --object-output to hwloc-calc to report the type as a prefix to
55+
object indexes, e.g. Core:2 instead of 2 in the output of -I.
56+
+ hwloc-info --ancestor and --descendants now accepts kinds of objects
57+
instead of single types.
58+
- The new --first option only shows the first matching object.
59+
+ Add --children-of-pid to hwloc-ps to show a hierarchy of processes.
60+
Thanks to Antoine Morvan for the suggestion.
61+
+ Add --misc-from to lstopo to add Misc objects described in a file.
62+
- To be combined with the new hwloc-ps --lstopo-misc for a customizable
63+
lstopo --top replacement.
64+
* Misc
65+
+ lstopo may now configure the layout of memory object placed above,
66+
for instance with --children-order memory:above:vert.
67+
+ Fix XML import from memory or stdin when using libxml2 2.12.
68+
+ Fix installation failures when configuring with --target,
69+
thanks to Clement Foyer for the patch.
70+
+ Fix support for 128bit pointer architectures.
71+
+ Remove Netloc.
72+
73+
74+
Version 2.9.3
75+
-------------
76+
* Handle Linux glibc allocation errors in binding routines (CVE-2022-47022).
77+
* Fix hwloc-calc when searching objects on heterogeneous memory platforms,
78+
thanks to Antoine Morvan for the report.
79+
* Fix hwloc_get_next_child() when there are some memory-side caches.
80+
* Don't crash if the topology is empty because Linux cgroups are wrong.
81+
* Improve some hwloc-bind warnings in case of command-line parsing errors.
82+
* Many documentation improvements all over the place, including:
83+
+ hwloc_topology_restrict() and hwloc_topology_insert_group() may reorder
84+
children, causing the logical indexes of objects to change.
85+
86+
87+
Version 2.9.2
88+
-------------
89+
* Don't forget L3i when defining filters for multiple levels of caches
90+
with hwloc_topology_set_cache/icache_types_filter().
91+
* Fix object total_memory after hwloc_topology_insert_group_object().
92+
* Fix the (non-yet) exporting in synthetic description for complex memory
93+
hierarchies with memory-side caches, etc.
94+
* Fix some default size attributes when building synthetic topologies.
95+
* Fix size units in hwloc-annotate.
96+
* Improve bitmap reallocation error management in many functions.
97+
* Documentation improvements:
98+
+ Better document return values of functions.
99+
+ Add "Error reporting" section (in hwloc.h and in the doxygen doc).
100+
+ Add FAQ entry "What may I disable to make hwloc faster?"
101+
+ Improve FAQ entries "Why is lstopo slow?" and
102+
"I only need ..., why should I use hwloc?"
103+
+ Clarify how to deal with cpukinds in hwloc-calc and hwloc-bind
104+
manpages.
105+
106+
107+
Version 2.9.1
108+
-------------
109+
* Don't forget to apply object type filters to "perflevel" caches detected
110+
on recent Mac OS X releases, thanks to Michel Lesoinne for the report.
111+
* Fix a failed assertion in hwloc_topology_restrict() when some NUMA nodes
112+
are removed because of HWLOC_RESTRICT_FLAG_REMOVE_CPULESS but no PUs are.
113+
Thanks to Mark Grondona for reporting the issue.
114+
* Mark HPE Cray Slingshot NICs with subtype "Slingshot".
115+
116+
20117
Version 2.9.0
21118
-------------
22119
* Backends
@@ -61,6 +158,14 @@ Version 2.8.0
61158
file from the documentation.
62159

63160

161+
Version 2.7.2
162+
-------------
163+
* Fix a crash when LevelZero devices have multiple subdevices,
164+
e.g. on PonteVecchio GPUs, thanks to Jonathan Peyton.
165+
* Fix a leak when importing cpukinds from XML,
166+
thanks to Hui Zhou.
167+
168+
64169
Version 2.7.1
65170
-------------
66171
* Workaround crashes when virtual machines report incoherent x86 CPUID

0 commit comments

Comments
 (0)