test: test查看cpu指令集

This commit is contained in:
infinitycat
2025-04-25 04:01:57 +08:00
parent db7543dd8d
commit c7aff644ac
2 changed files with 7 additions and 1 deletions

View File

@@ -15,7 +15,8 @@ RUN apt-get update && apt-get install -y build-essential
# test
RUN cat /proc/cpuinfo
RUN cat /proc/cpuinfo | grep avx2
RUN uv pip install --system py-cpuinfo
RUN python test_cpu.py
# 安装依赖
RUN uv pip install --system --upgrade pip