Skip to content

Commit

Permalink
tuning loongarch
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Apr 3, 2024
1 parent 905ba37 commit 96f561e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/loongarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ jobs:
path: /opt/cross-tools
key: loongarch64-${{ matrix.platform.toolchain-version }}

- name: Set-up Loongarch64 build environment
- name: setup Loongarch64 build environment
run: |
echo "/opt/cross-tools/bin" >> $GITHUB_PATH
echo "CC=loongarch64-unknown-linux-gnu-gcc" >> $GITHUB_ENV
echo "CXX=loongarch64-unknown-linux-gnu-g++" >> $GITHUB_ENV
- name: configure
run: cmake -B build
run: cmake -B build -DCMAKE_SYSTEM_PROCESSOR=loongarch64 -DARCH=lonngarch64 -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_C_COMPILER=loongarch64-unknown-linux-gnu-gcc -DCMAKE_CXX_COMPILER=loongarch64-unknown-linux-gnu-g++
- name: build
run: cmake --build build
- name: test
run: ctest --test-dir build
run: cmake --build build

0 comments on commit 96f561e

Please sign in to comment.