Skip to content

Instantly share code, notes, and snippets.

View kuzetsa's full-sized avatar

CatSwarm (kuza) kuzetsa

View GitHub Profile
@kuzetsa
kuzetsa / 15CFR74411.md
Created April 27, 2023 10:20
15 CFR 744.11 (up to date as of 4/24/2023)

15 CFR 744.11 (up to date as of 4/24/2023)

§ 744.11 License requirements that apply to entities acting or at significant risk of acting contrary to the national security or foreign policy interests of the United States.

[...]

  • License requirement, availability of license exceptions, and license application review policy.

  • Standards related activity.

@kuzetsa
kuzetsa / 2e4411ef45403b9c57a7c8cb4d92cc0081045495.patch
Last active November 2, 2022 16:22
Version 1.2 contains contributions by kuzetsa CatSwarm [...]
From 2e4411ef45403b9c57a7c8cb4d92cc0081045495 Mon Sep 17 00:00:00 2001
From: "Robin H. Johnson" <[email protected]>
Date: Sat, 22 Oct 2022 07:38:00 -0700
Subject: [PATCH] glep-0076: clarify name policy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Merge discussion results about improving the name policy.
@kuzetsa
kuzetsa / make.conf
Created September 27, 2022 04:08
/etc/portage/make.conf ~ [for VIDEO_CARDS or otherwise]
# fastest "local" distfiles mirror is in NY (roch)
GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
# kuzetsa doesn't trust autodetection
CHOST="x86_64-pc-linux-gnu"
@kuzetsa
kuzetsa / mesa_configure.log
Created September 27, 2022 04:05
configure only / mesa ebuild
kuzetsa@tinybox /usr/portage/media-libs/mesa $ sudo ebuild mesa-22.2.0.ebuild configure
* mesa-22.2.0.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Ignoring USE=vulkan since VIDEO_CARDS does not contain d3d12, freedreno, intel, radeonsi, or v3d
* Checking whether python3_11 is suitable ...
* >=dev-lang/python-3.11.0_beta4:3.11 ... [ !! ]
* Checking whether python3_10 is suitable ...
* >=dev-lang/python-3.10.4:3.10 ... [ ok ]
* python_check_deps ...
@kuzetsa
kuzetsa / genlop.log
Created September 27, 2022 04:01
[00:00:06] <@mattst88> okay, please pastebin a build log of media-libs/mesa
Sat Sep 24 23:53:15 2022 >>> media-libs/mesa-22.2.0
Sun Sep 25 02:08:26 2022 >>> media-libs/mesa-21.3.8-r1
Sun Sep 25 04:27:16 2022 >>> media-libs/mesa-21.3.8-r1
Sun Sep 25 05:10:24 2022 >>> media-libs/mesa-21.3.8-r1
Sun Sep 25 16:43:09 2022 >>> media-libs/mesa-21.3.8-r1
Mon Sep 26 01:48:42 2022 >>> media-libs/mesa-21.3.8-r1
Mon Sep 26 23:50:13 2022 >>> media-libs/mesa-22.2.0
@kuzetsa
kuzetsa / mesa-21.3.8-r1.ebuild
Created September 27, 2022 03:26
[/opt/purp_overlay/media-libs] ~ mesa / mesa-amber @ 21.3.8-r1
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit llvm meson-multilib python-any-r1 linux-info
MY_P="${P/_/-}"
--- /opt/purp_overlay/media-libs/mesa/mesa-21.3.8-r1.ebuild 2022-09-25 01:53:59.577654333 -0400
+++ mesa-22.2.0.ebuild 2022-09-21 20:40:34.000000000 -0400
@@ -20 +20 @@
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
@@ -25,3 +25 @@
-RESTRICT="
- !test? ( test )
-"
+RESTRICT="!test? ( test )"
@kuzetsa
kuzetsa / ShowMarchNative_gcc.sh
Created September 27, 2022 02:33
cflags for UCFF / ultra-compact formfactor xeon-style workstation
#!/bin/sh
gcc --version > gcc_version
gcc -Os -march=native -E -v - </dev/null 2>&1 | grep cc1 > tigerlake_native_gcc_level_Os
gcc -O2 -march=native -E -v - </dev/null 2>&1 | grep cc1 > tigerlake_native_gcc_level_O2
gcc -O3 -march=native -E -v - </dev/null 2>&1 | grep cc1 > tigerlake_native_gcc_level_O3
@kuzetsa
kuzetsa / keybase.md
Created September 20, 2022 22:13
kuzetsa CatSwarm (kuza for short) / doing the usual signatures and challenges.

Keybase proof

I hereby claim:

  • I am kuzetsa on github.
  • I am kuza (https://keybase.io/kuza) on keybase.
  • I have a public key ASDexfdK_5l3x3nbfJnA4hAUoMfYbwj8llaq5Y4OHL0Wggo

To claim this, I am signing this object:

@kuzetsa
kuzetsa / mesa-22.1.5-r9.ebuild.patch
Last active August 21, 2022 08:55
patch for iris Xe ~ [Xe Graphics] ~ feature support in media-libs/mesa-22.1.5
--- /usr/portage/media-libs/mesa/mesa-22.1.5.ebuild 2022-08-06 00:40:39.000000000 -0400
+++ mesa-22.1.5-r9.ebuild 2022-08-21 04:50:02.980214455 -0400
@@ -28 +28 @@
-VIDEO_CARDS="${RADEON_CARDS} freedreno intel lima nouveau panfrost v3d vc4 virgl vivante vmware"
+VIDEO_CARDS="${RADEON_CARDS} freedreno intel crocus i915 iris lima nouveau panfrost v3d vc4 virgl vivante vmware"
@@ -226,0 +227 @@
+ ! use video_cards_iris &&
@@ -229 +230 @@
- ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain freedreno, intel, radeonsi, or v3d"
+ ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain freedreno, intel, iris, radeonsi, or v3d"