惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Cybersecurity and Infrastructure Security Agency CISA
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Latest news
Latest news
L
LINUX DO - 热门话题
Cisco Talos Blog
Cisco Talos Blog
S
Securelist
T
Threatpost
AWS News Blog
AWS News Blog
P
Privacy & Cybersecurity Law Blog
C
CERT Recently Published Vulnerability Notes
B
Blog RSS Feed
T
Threat Research - Cisco Blogs
P
Proofpoint News Feed
T
Tor Project blog
P
Palo Alto Networks Blog
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
H
Help Net Security
小众软件
小众软件
C
Cisco Blogs
有赞技术团队
有赞技术团队
Cyberwarzone
Cyberwarzone
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
S
Schneier on Security
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
The Register - Security
The Register - Security
Project Zero
Project Zero
Hugging Face - Blog
Hugging Face - Blog
The Cloudflare Blog
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
爱范儿
爱范儿
A
About on SuperTechFans
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
A
Arctic Wolf
大猫的无限游戏
大猫的无限游戏
V
V2EX
Stack Overflow Blog
Stack Overflow Blog
K
Kaspersky official blog
Scott Helme
Scott Helme
Spread Privacy
Spread Privacy
The Hacker News
The Hacker News
H
Hackread – Cybersecurity News, Data Breaches, AI and More

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - android-cli AUR (en) - rs-top AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - quillscribe AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - omarchy-emacs AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - codebase-memory-mcp-bin AUR (en) - codebase-memory-mcp-bin AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - vim-prosession AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - kwin-dual-mode AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - mesen-ce-git AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-bin
AUR (en) - oh-my-posh
2026-06-13 · via AUR Newest Packages

ItachiSan commented on 2026-01-25 13:37 (UTC) (edited on 2026-01-25 13:55 (UTC) by ItachiSan)

wszqkzqk commented on 2025-06-14 15:06 (UTC) (edited on 2025-06-14 15:06 (UTC) by wszqkzqk)

@AnotherAURUser Oh, yes. -O3 sometimes is not as effective as -O2. Anyway, let's keep it as it is and follow Arch Linux's custom.

AnotherAURUser commented on 2025-06-14 15:03 (UTC) (edited on 2025-06-14 15:05 (UTC) by AnotherAURUser)

@wszqkzqk as you can see from these tests.. there is no need in these flags. optimized script runs slower than a default one. I am not asking you for anything.

wszqkzqk commented on 2025-06-14 14:57 (UTC)

@AnotherAURUser According to Arch Linux's custom, please modify your compiler flags in you own makepkg.conf instead of asking each package to do so.😊

AnotherAURUser commented on 2025-06-14 14:37 (UTC) (edited on 2025-06-14 14:38 (UTC) by AnotherAURUser)

ok @wszqkzqk, here is the answer:


=== SIMPLIFIED OH-MY-POSH BENCHMARK ===

[1/5] Basic prompt generation test
Using theme: catppuccin.omp.json
Optimized:     avg=0.001562s
Non-optimized: avg=0.001553s
Improvement:   -0.61%

[2/5] Rapid generation test (2000 runs)
Optimized:     total=3.123s, avg=0.001562s
Non-optimized: total=3.111s, avg=0.001555s
Total improvement: -0.40%

[3/5] Multi-theme comparison
Theme 1: catppuccin.omp.json
  Opt: 0.001568s, Non-opt: 0.001553s
  Improvement: -0.94%

Theme 2: peru.omp.json
  Opt: 0.001557s, Non-opt: 0.001552s
  Improvement: -0.31%

Theme 3: the-unnamed.omp.json
  Opt: 0.001560s, Non-opt: 0.001552s
  Improvement: -0.49%

[4/5] Multi-threaded stress test (2000 runs, 2 threads)
Optimized:     avg=0.003148s
Non-optimized: avg=0.003127s
Improvement:   -0.67%

[5/5] Binary size comparison
Optimized binary:     22,222,616 bytes
Non-optimized binary: 27,313,752 bytes
Size reduction:       18.64%

=== BENCHMARK COMPLETE ===

At least now it's possible to find peace, if one craves more optimization.

wszqkzqk commented on 2025-06-14 13:17 (UTC)

@AnotherAURUser You can maintain the CFLAGS in your own /etc/pacman.conf instead of change the packaging process.

wszqkzqk commented on 2025-06-14 13:13 (UTC)

@AnotherAURUser If there is no strong evidence that the performance improvement is significant, I would prefer to follow Go package guidelines.

AnotherAURUser commented on 2025-06-14 13:10 (UTC) (edited on 2025-06-14 13:11 (UTC) by AnotherAURUser)

guys, what if update code like this:


build() {
    export CC=clang
    export CXX=clang++
    export CGO_CPPFLAGS="${CPPFLAGS} -O3 -march=native -flto"
    export CGO_CFLAGS="${CFLAGS} -O3 -march=native -flto"
    export CGO_CXXFLAGS="${CXXFLAGS} -O3 -march=native -flto"
    export CGO_LDFLAGS="${LDFLAGS} -O3 -march=native -flto"
    export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"

    cd "$pkgname-$pkgver/src"
    go mod download

go build -gcflags="all=-l=4 -d=ssa/check_bce/debug=0" \
  -ldflags="-linkmode=external -s -w \
  -X github.com/jandedobbeleer/oh-my-posh/src/build.Version=$pkgver \
  -X github.com/jandedobbeleer/oh-my-posh/src/build.Date=$(date +%F) \
  -extldflags=-Wl,-O3" \
  -o "$pkgname"
}

will it bring more performance? kinda want to add only optimized things into cachyos

ZhangHua commented on 2025-02-27 13:07 (UTC)

oh-my-posh completion is not supported anymore because of github issue 6103. And I do not find any replacement for it. So I think we may have to remove those completions in package or patch the source to revert the commit .

brody commented on 2025-01-20 17:13 (UTC) (edited on 2025-01-20 17:13 (UTC) by brody)

gcc is not needed in the makedepends field. It's in base-devel.