parent
8763b5e3ee
commit
7142efbc3d
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Sat, 09 Jan 2021 22:08:43 +0000
|
||||
Sat, 09 Jan 2021 22:38:42 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat, 09 Jan 2021 22:08:43 +0000
|
||||
Sat, 09 Jan 2021 22:38:42 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( dev-tcltk/expect sys-apps/coreutils sys-kernel/dracut sys-fs/e2fsprogs amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] ) x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] ) )
|
||||
DEFINED_PHASES=config install postinst postrm preinst prerm pretend test unpack
|
||||
DESCRIPTION=Pre-built Linux kernel with genpatches
|
||||
EAPI=7
|
||||
HOMEPAGE=https://www.kernel.org/
|
||||
IUSE=+initramfs test
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=>=virtual/dist-kernel-5.10.6
|
||||
RDEPEND=!sys-kernel/gentoo-kernel:5.10.6 !sys-kernel/vanilla-kernel:5.10.6 !sys-kernel/vanilla-kernel-bin:5.10.6 || ( sys-kernel/installkernel-gentoo sys-kernel/installkernel-systemd-boot ) initramfs? ( >=sys-kernel/dracut-049-r3 )
|
||||
RESTRICT=!test? ( test ) test? ( userpriv ) arm? ( test )
|
||||
SLOT=5.10.6
|
||||
SRC_URI=amd64? ( https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.6-1.xpak -> gentoo-kernel-5.10.6-1.amd64.xpak ) x86? ( https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.6-1.xpak -> gentoo-kernel-5.10.6-1.x86.xpak )
|
||||
_eclasses_=kernel-install 2a4af308756b3204b376d8b3fd5adbbf mount-boot 20014ae7a3e81eb2c65a4d4d86d2560d multilib d410501a125f99ffb560b0c523cd3d1e toolchain-funcs 1a94dc06d324bd0dab754e11abe6d27e
|
||||
_md5_=01054bd2ca3e62795c9bdb9a33824bae
|
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( dev-tcltk/expect sys-apps/coreutils sys-kernel/dracut sys-fs/e2fsprogs amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] ) x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] ) )
|
||||
DEFINED_PHASES=config install postinst postrm preinst prerm pretend test unpack
|
||||
DESCRIPTION=Pre-built Linux kernel with genpatches
|
||||
EAPI=7
|
||||
HOMEPAGE=https://www.kernel.org/
|
||||
IUSE=+initramfs test
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=>=virtual/dist-kernel-5.4.88
|
||||
RDEPEND=!sys-kernel/gentoo-kernel:5.4.88 !sys-kernel/vanilla-kernel:5.4.88 !sys-kernel/vanilla-kernel-bin:5.4.88 || ( sys-kernel/installkernel-gentoo sys-kernel/installkernel-systemd-boot ) initramfs? ( >=sys-kernel/dracut-049-r3 )
|
||||
RESTRICT=!test? ( test ) test? ( userpriv ) arm? ( test )
|
||||
SLOT=5.4.88
|
||||
SRC_URI=amd64? ( https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.88-1.xpak -> gentoo-kernel-5.4.88-1.amd64.xpak ) x86? ( https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.88-1.xpak -> gentoo-kernel-5.4.88-1.x86.xpak )
|
||||
_eclasses_=kernel-install 2a4af308756b3204b376d8b3fd5adbbf mount-boot 20014ae7a3e81eb2c65a4d4d86d2560d multilib d410501a125f99ffb560b0c523cd3d1e toolchain-funcs 1a94dc06d324bd0dab754e11abe6d27e
|
||||
_md5_=77c44ecb27db2772cf9b79018efd2462
|
@ -1 +1 @@
|
||||
Sat, 09 Jan 2021 22:08:43 +0000
|
||||
Sat, 09 Jan 2021 22:38:42 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat Jan 9 10:08:43 PM UTC 2021
|
||||
Sat Jan 9 10:38:41 PM UTC 2021
|
||||
|
@ -1 +1 @@
|
||||
Sat, 09 Jan 2021 22:30:01 +0000
|
||||
Sat, 09 Jan 2021 23:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
0ebbd03227f786fa2515679d4e30d7ea68f222d4 1610229455 2021-01-09T21:57:35+00:00
|
||||
686fb76ffda2943cfd8adab9b1c738bb84e11635 1610230708 2021-01-09T22:18:28+00:00
|
||||
|
@ -1 +1 @@
|
||||
1610229901 Sat 09 Jan 2021 10:05:01 PM UTC
|
||||
1610231701 Sat 09 Jan 2021 10:35:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Sat, 09 Jan 2021 22:08:43 +0000
|
||||
Sat, 09 Jan 2021 22:38:42 +0000
|
||||
|
Binary file not shown.
@ -0,0 +1,83 @@
|
||||
https://bugs.gentoo.org/727008
|
||||
--- a/adl.h
|
||||
+++ b/adl.h
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
-bool adl_active;
|
||||
-bool opt_reorder;
|
||||
-const int opt_targettemp;
|
||||
-const int opt_overheattemp;
|
||||
+extern bool adl_active;
|
||||
+extern bool opt_reorder;
|
||||
+extern const int opt_targettemp;
|
||||
+extern const int opt_overheattemp;
|
||||
void init_adl(int nDevs);
|
||||
float gpu_temp(int gpu);
|
||||
int gpu_engineclock(int gpu);
|
||||
--- a/driver-cpu.c
|
||||
+++ b/driver-cpu.c
|
||||
@@ -43,6 +43,8 @@
|
||||
|
||||
BFG_REGISTER_DRIVER(cpu_drv)
|
||||
|
||||
+struct cgpu_info *cpus;
|
||||
+
|
||||
#if defined(__linux) && defined(CPU_ZERO) /* Linux specific policy and affinity management */
|
||||
#include <sched.h>
|
||||
static inline void drop_policy(void)
|
||||
--- a/driver-opencl.c
|
||||
+++ b/driver-opencl.c
|
||||
@@ -795,7 +795,6 @@ char *print_ndevs_and_exit(int *ndevs)
|
||||
|
||||
|
||||
struct cgpu_info gpus[MAX_GPUDEVICES]; /* Maximum number apparently possible */
|
||||
-struct cgpu_info *cpus;
|
||||
|
||||
|
||||
/* In dynamic mode, only the first thread of each device will be in use.
|
||||
--- a/miner.c
|
||||
+++ b/miner.c
|
||||
@@ -3762,10 +3762,6 @@ static int statusy;
|
||||
static int devsummaryYOffset;
|
||||
static int total_lines;
|
||||
#endif
|
||||
-#ifdef USE_OPENCL
|
||||
-struct cgpu_info gpus[MAX_GPUDEVICES]; /* Maximum number apparently possible */
|
||||
-#endif
|
||||
-struct cgpu_info *cpus;
|
||||
|
||||
bool _bfg_console_cancel_disabled;
|
||||
int _bfg_console_prev_cancelstate;
|
||||
--- a/sha256_sse2_amd64.c
|
||||
+++ b/sha256_sse2_amd64.c
|
||||
@@ -48,7 +48,6 @@ static uint32_t g_sha256_k[]__attribute__((aligned(0x100))) = {
|
||||
const uint32_t sha256_init_sse2[8]__asm__("sha256_init_sse2")__attribute__((aligned(0x100))) =
|
||||
{0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19};
|
||||
|
||||
-__m128i g_4sha256_k[64];
|
||||
__m128i sha256_consts_m128i[64]__asm__("sha256_consts_m128i")__attribute__((aligned(0x1000)));
|
||||
|
||||
bool scanhash_sse2_64(struct thr_info * const thr, struct work * const work,
|
||||
--- a/sha256_sse2_i386.c
|
||||
+++ b/sha256_sse2_i386.c
|
||||
@@ -48,7 +48,6 @@ static uint32_t g_sha256_k[]__attribute__((aligned(0x100))) = {
|
||||
const uint32_t sha256_32init[8]__attribute__((aligned(0x100))) =
|
||||
{0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19};
|
||||
|
||||
-__m128i g_4sha256_k[64];
|
||||
__m128i sha256_consts_m128i[64]__asm__("sha256_consts_m128i")__attribute__((aligned(0x1000)));
|
||||
|
||||
bool scanhash_sse2_32(struct thr_info * const thr, struct work * const work,
|
||||
--- a/util.h
|
||||
+++ b/util.h
|
||||
@@ -217,7 +217,7 @@ void cgsleep_us(int64_t us);
|
||||
#define cgtimer_time(ts_start) timer_set_now(ts_start)
|
||||
#define cgsleep_prepare_r(ts_start) cgtimer_time(ts_start)
|
||||
void cgsleep_ms_r(cgtimer_t *ts_start, int ms);
|
||||
-void (*cgsleep_us_r)(cgtimer_t *ts_start, int64_t us);
|
||||
+extern void (*cgsleep_us_r)(cgtimer_t *ts_start, int64_t us);
|
||||
|
||||
static inline
|
||||
int cgtimer_to_ms(cgtimer_t *cgt)
|
Binary file not shown.
@ -0,0 +1,48 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit kernel-install
|
||||
|
||||
MY_P=${P/-bin/}-1
|
||||
DESCRIPTION="Pre-built Linux kernel with genpatches"
|
||||
HOMEPAGE="https://www.kernel.org/"
|
||||
SRC_URI+="
|
||||
amd64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
|
||||
-> ${MY_P}.amd64.xpak
|
||||
)
|
||||
x86? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
|
||||
-> ${MY_P}.x86.xpak
|
||||
)"
|
||||
S=${WORKDIR}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/gentoo-kernel:${SLOT}
|
||||
!sys-kernel/vanilla-kernel:${SLOT}
|
||||
!sys-kernel/vanilla-kernel-bin:${SLOT}"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}"
|
||||
|
||||
QA_PREBUILT='*'
|
||||
|
||||
src_unpack() {
|
||||
ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
|
||||
tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
|
||||
eend ${?} || die "Unpacking ${MY_P} failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
kernel-install_test "${PV}" \
|
||||
"${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \
|
||||
"lib/modules/${PV}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv * "${ED}" || die
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit kernel-install
|
||||
|
||||
MY_P=${P/-bin/}-1
|
||||
DESCRIPTION="Pre-built Linux kernel with genpatches"
|
||||
HOMEPAGE="https://www.kernel.org/"
|
||||
SRC_URI+="
|
||||
amd64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
|
||||
-> ${MY_P}.amd64.xpak
|
||||
)
|
||||
x86? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${MY_P}.xpak
|
||||
-> ${MY_P}.x86.xpak
|
||||
)"
|
||||
S=${WORKDIR}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/gentoo-kernel:${SLOT}
|
||||
!sys-kernel/vanilla-kernel:${SLOT}
|
||||
!sys-kernel/vanilla-kernel-bin:${SLOT}"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}"
|
||||
|
||||
QA_PREBUILT='*'
|
||||
|
||||
pkg_pretend() {
|
||||
ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
|
||||
ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
|
||||
|
||||
kernel-install_pkg_pretend
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
ebegin "Unpacking ${MY_P}.${ARCH}.xpak"
|
||||
tar -x < <(xz -c -d --single-stream "${DISTDIR}/${MY_P}.${ARCH}.xpak")
|
||||
eend ${?} || die "Unpacking ${MY_P} failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
kernel-install_test "${PV}" \
|
||||
"${WORKDIR}/usr/src/linux-${PV}/$(kernel-install_get_image_path)" \
|
||||
"lib/modules/${PV}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv * "${ED}" || die
|
||||
}
|
Loading…
Reference in new issue