Files
triangles_v5/snap/snapcraft.yaml
T
Sami Ahmed 8a48b308a8 build: v6.2.0 — disable AVX-512 autovec, fix v6.1.9 SIGILL
v6.1.9 was built on a GitHub Actions EPYC 7763 runner (AVX-512 capable)
and contained 741 vpbroadcastq EVEX instructions in inlined libstdc++
std::string paths. The resulting binary crashed with SIGILL on every
production node: KVM EPYC (DNS2), Ryzen 5 3600 (SAMI-PC), and any
non-x86_64 node.

cmake/AddCompilerFlags.cmake already set -march=x86-64-v2 -mtune=generic
but GCC 11.4 + libstdc++ inlining still autovectorized some paths to
AVX-512. The fix adds an explicit -mno-avx512f -mno-avx512* block
inside CMAKE_X86_64_BASELINE so the build cannot leak AVX-512 regardless
of the build host's capabilities.

Carries forward the v6.1.9 staking-selfheal fix (f69f087) unchanged.
Bump version 6.1.9 -> 6.2.0 to reflect the build-system change.

See references/avx-512-sigill-build-fix.md for the full diagnosis
recipe and the verification steps.
2026-08-01 13:35:54 -07:00

92 lines
2.3 KiB
YAML

name: triangles
base: core22
version: '6.2.0'
summary: Cryptographic Triangles (TRI) cryptocurrency wallet
description: |
Privacy-focused cryptocurrency featuring Proof-of-Stake consensus,
Tor v3 onion routing, and built-in encrypted messaging.
Features:
- Proof-of-Stake with 33% annual staking rewards
- Hash9 algorithm (13-step hash cascade)
- Encrypted peer-to-peer messaging
- Tor v3 integration for anonymous transactions
Website: https://cryptographic-triangles.org
grade: stable
confinement: strict
license: MIT
icon: snap/gui/triangles.png
architectures:
- build-on: amd64
apps:
triangles-qt:
command: bin/triangles-qt
desktop: share/applications/triangles-qt.desktop
plugs:
- desktop
- desktop-legacy
- wayland
- x11
- opengl
- network
- network-bind
- home
- removable-media
environment:
DISABLE_WAYLAND: 1
trianglesd:
command: bin/trianglesd
daemon: simple
plugs:
- network
- network-bind
- home
install-mode: disable
parts:
triangles:
plugin: dump
source: https://github.com/SamiAhmed7777/triangles_v5/releases/download/v6.2.0/Cryptographic-Triangles-v6.2.0-linux-x64-qt
source-type: file
organize:
Cryptographic-Triangles-v6.2.0-linux-x64-qt: bin/triangles-qt
stage-packages:
- libqt5widgets5
- libqt5gui5
- libqt5core5a
- libqt5network5
- libssl3
- libdb5.3++
- libboost-system1.74.0
- libboost-filesystem1.74.0
- libboost-program-options1.74.0
- libboost-thread1.74.0
- libboost-chrono1.74.0
- libevent-2.1-7
- libminiupnpc17
- tor
trianglesd:
plugin: dump
source: https://github.com/SamiAhmed7777/triangles_v5/releases/download/v6.2.0/Cryptographic-Triangles-v6.2.0-linux-x64-daemon
source-type: file
organize:
Cryptographic-Triangles-v6.2.0-linux-x64-daemon: bin/trianglesd
desktop-entry:
plugin: dump
source: snap/gui
organize:
triangles-qt.desktop: share/applications/triangles-qt.desktop
appstream:
plugin: dump
source: packaging/appstream
organize:
org.cryptographic_triangles.TrianglesQt.metainfo.xml: share/metainfo/org.cryptographic_triangles.TrianglesQt.metainfo.xml