Skip to content

Instantly share code, notes, and snippets.

View Sakura286's full-sized avatar
🌠
Bullshiting

Sakura286 Sakura286

🌠
Bullshiting
View GitHub Profile
diff --git a/contrib/create_packages.sh b/contrib/create_packages.sh
index 99ba6a2..01dadb9 100755
--- a/contrib/create_packages.sh
+++ b/contrib/create_packages.sh
@@ -162,4 +162,4 @@ else
popd
fi
-rmdir $TMP_DIR
+#rmdir $TMP_DIR

页头

1. 概述

为板卡适配操作系统是一个工程问题,需要在完成适配目标的前提下,尽可能地降低成本。RevyOS 采用 Base + Addon 软件包仓库组合的方式,通过复用开源发行版代码的方式降低了开发维护成本,同时灵活组合使用多个 Addon 仓库,将集成厂商指令集能力、编解码器、图形及其他一系列的功能成功集成在了操作系统中。

RevyOS 由 RuyiSDK 团队的 RevyOS 小队(下称“我们”)开发的一个针对于 XuanTie 芯片生态的 Debian 优化发行版,通过仓库组合的方式提供适用于对应芯片最好的优化软件。

Accel
cubercui
GDY
Haku
jn
Jolyne
keily
killua
kiss_xia
Koi
FROM ubuntu:noble
MAINTAINER Sakura286
ARG WORKSPACE=/workspace
ARG CHROMIUM_DIR=$WORKSPACE/chromium-rokcos-master
ARG LLVM_DIR=$CHROMIUM_DIR/third_party/llvm-build/Release+Asserts/bin
ARG [email protected]
ARG USER_NAME=Sakura286
diff --git a/compiler/rustc_codegen_llvm/src/back/lto.rs b/compiler/rustc_codegen_llvm/src/back/lto.rs
index 42bd8687042..6c204b7ab2b 100644
--- a/compiler/rustc_codegen_llvm/src/back/lto.rs
+++ b/compiler/rustc_codegen_llvm/src/back/lto.rs
@@ -607,7 +607,7 @@ pub(crate) fn run_pass_manager(
"LTOPostLink".as_ptr().cast(),
11,
) {
- llvm::LLVMRustAddModuleFlag(
+ llvm::LLVMRustAddModuleFlagU32(
From 1b169f49a129a5a69a82386b486c8a46ecfc815a Mon Sep 17 00:00:00 2001
From: ziqingluo-90 <[email protected]>
Date: Fri, 5 Jan 2024 13:39:39 -0800
Subject: [PATCH 1/3] [-Wunsafe-buffer-usage] Add a new warning for use of
two-parameter std::span constructors
Constructing `std::span` objects with the two parameter constructors
could introduce mismatched bounds information, which defeats the
purpose of using `std::span`. Therefore, we warn every use of such
constructors.
[General]
arch=amd64
cleanup=true
noauth=true
explicitsuite=false
unpack=true
bootstrap=Base
aptsource=Base
[Base]
#!/bin/bash
gn gen out/Release-riscv64 --args='
is_official_build=true
is_debug=false
is_clang=true
target_cpu="riscv64"
treat_warnings_as_errors=false
chrome_pgo_phase=0
use_debug_fission=false
diff -Nru gst-plugins-base1.0-1.24.8/debian/changelog gst-plugins-base1.0-1.24.8/debian/changelog
--- gst-plugins-base1.0-1.24.8/debian/changelog 2024-09-19 20:13:52.000000000 +0800
+++ gst-plugins-base1.0-1.24.8/debian/changelog 2024-12-04 14:53:41.000000000 +0800
@@ -1,3 +1,10 @@
+gst-plugins-base1.0 (1.24.8-1revyos1) UNRELEASED; urgency=medium
+
+ [ CHEN Xuan ]
+ * Switch gl platform to egl
+
+ -- CHEN Xuan <[email protected]> Wed, 04 Dec 2024 14:53:41 +0800

CXX_FLAGS of gpu_pvr

-std=gnu++1y -fno-rtti -fno-exceptions -O2 -flto -fno-strict-aliasing -g -Wpointer-arith -Wunused-parameter -Wmissing-format-attribute -W -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-error=implicit-fallthrough -Wno-missing-field-initializers  -fdiagnostics-show-option -Wno-self-assign -Wno-parentheses-equality  -Wlogical-op  -Wno-unused-but-set-variable -Wno-typedef-redefinition  

LD_FLAGS of gpu_pvr

-O2 -fdiagnostics-show-option -flto -fno-exceptions -fno-rtti -fno-strict-aliasing -g -std=gnu++1y -std=gnu99  -Lbinary_eswin_linux_xorg_release/target_riscv64 -fPIC -Xlinker -rpath-link=binary_eswin_linux_xorg_release/target_riscv64 -Wl,--warn-shared-textrel