Skip to content

Commit 5704ef4

Browse files
authored
add linux arm build (#36)
- setup-ci -> 2025.01.31 - llvm -> 19.1.7 - qt -> 6.8.1-linux-arm64
1 parent 196ada4 commit 5704ef4

File tree

4 files changed

+12
-19
lines changed

4 files changed

+12
-19
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
BOOST_BOOTSTRAP_OPTIONS: "--with-toolset=clang"
4343
BOOST_B2_OPTIONS: "cxxflags=-fPIC"
4444
TBB_ENABLE_IPO: "ON"
45+
- os: "ubuntu-22.04-arm"
46+
shell: "bash"
47+
BOOST_INSTALL_PREFIX: "/opt/smelibs"
48+
BOOST_BOOTSTRAP_OPTIONS: "--with-toolset=clang"
49+
BOOST_B2_OPTIONS: "cxxflags=-fPIC"
50+
TBB_ENABLE_IPO: "ON"
4551
- os: "macos-13"
4652
shell: "bash"
4753
BOOST_INSTALL_PREFIX: "/opt/smelibs"
@@ -70,10 +76,10 @@ jobs:
7076
TBB_ENABLE_IPO: ${{ matrix.TBB_ENABLE_IPO }}
7177
VTK_OPTIONS: ${{ matrix.VTK_OPTIONS }}
7278
steps:
73-
- uses: spatial-model-editor/[email protected].02
79+
- uses: spatial-model-editor/[email protected].31
7480
with:
75-
sme_deps_llvm: "19.1.6"
76-
sme_deps_qt: "6.8.1"
81+
sme_deps_llvm: "19.1.7"
82+
sme_deps_qt: "6.8.1-linux-arm64"
7783
- uses: actions/checkout@v4
7884
- run: ./build.sh
7985
- uses: actions/upload-artifact@v4

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ repos:
1111
- id: mixed-line-ending
1212
exclude: '.*\.diff$'
1313
- repo: https://github.com/rhysd/actionlint
14-
rev: v1.7.6
14+
rev: v1.7.7
1515
hooks:
1616
- id: actionlint
1717
- repo: https://github.com/pecigonzalo/pre-commit-shfmt
1818
rev: v2.2.0
1919
hooks:
2020
- id: shell-fmt-go
2121
- repo: https://github.com/google/yamlfmt
22-
rev: v0.14.0
22+
rev: v0.15.0
2323
hooks:
2424
- id: yamlfmt
2525
- repo: https://github.com/cheshirekow/cmake-format-precommit

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ This repo provides the following statically compiled libraries:
3434
Get the latest versions here:
3535

3636
- linux (clang 19 / Ubuntu 22.04): [sme_deps_common_linux.tgz](https://github.com/spatial-model-editor/sme_deps_common/releases/latest/download/sme_deps_common_linux.tgz)
37+
- linux-arm64 (clang 19 / Ubuntu 22.04): [sme_deps_common_linux-arm64.tgz](https://github.com/spatial-model-editor/sme_deps_common/releases/latest/download/sme_deps_common_linux-arm64.tgz)
3738
- osx (Xcode 15.2 / macOS 13): [sme_deps_common_osx.tgz](https://github.com/spatial-model-editor/sme_deps_common/releases/latest/download/sme_deps_common_osx.tgz)
3839
- osx-arm64 (Xcode 16.1 / macOS 14): [sme_deps_common_osx-arm64.tgz](https://github.com/spatial-model-editor/sme_deps_common/releases/latest/download/sme_deps_common_osx-arm64.tgz)
3940
- win64-mingw (mingw-w64-x86_64-gcc 14): [sme_deps_common_win64-mingw.tgz](https://github.com/spatial-model-editor/sme_deps_common/releases/latest/download/sme_deps_common_win64-mingw.tgz)

build.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ cmake -GNinja .. \
125125
-DBENCHMARK_ENABLE_WERROR=OFF \
126126
-DBENCHMARK_ENABLE_TESTING=OFF
127127
time ninja
128-
#make test
129128
${SUDO_CMD} ninja install
130129
cd ../../
131130

@@ -146,7 +145,6 @@ cmake -GNinja .. \
146145
-DCATCH_INSTALL_DOCS=OFF \
147146
-DCATCH_INSTALL_EXTRAS=ON
148147
time ninja
149-
#make test
150148
${SUDO_CMD} ninja install
151149
cd ../../
152150

@@ -268,7 +266,6 @@ cmake -GNinja .. \
268266
-DZLIB_INCLUDE_DIR=$INSTALL_PREFIX/include \
269267
-DZLIB_LIBRARY_RELEASE=$INSTALL_PREFIX/lib/libz.a
270268
time ninja
271-
#make test
272269
${SUDO_CMD} ninja install
273270
cd ../../
274271

@@ -294,7 +291,6 @@ cmake -GNinja .. \
294291
-DTBB_STRICT=OFF \
295292
-DTBB_TEST=OFF
296293
VERBOSE=1 time ninja tbb
297-
#time make test
298294
${SUDO_CMD} ninja install
299295
cd ../../
300296

@@ -334,7 +330,6 @@ cmake -GNinja .. \
334330
-DPAGMO_BUILD_STATIC_LIBRARY=ON \
335331
-DPAGMO_BUILD_TESTS=OFF
336332
VERBOSE=1 time ninja
337-
#time make test
338333
${SUDO_CMD} ninja install
339334
cd ../../
340335

@@ -357,7 +352,6 @@ cmake -GNinja ../expat \
357352
-DEXPAT_SHARED_LIBS=OFF \
358353
-DEXPAT_BUILD_TESTS:BOOL=OFF
359354
time ninja
360-
#make test
361355
${SUDO_CMD} ninja install
362356
cd ../../
363357

@@ -420,7 +414,6 @@ cmake -GNinja .. \
420414
-DZLIB_INCLUDE_DIR=$BOOST_INSTALL_PREFIX/include \
421415
-DZLIB_LIBRARY=$BOOST_INSTALL_PREFIX/lib/libz.a
422416
time ninja
423-
#ninja test
424417
${SUDO_CMD} ninja install
425418
cd ../../
426419

@@ -441,7 +434,6 @@ cmake -GNinja .. \
441434
-DFMT_DOC=OFF \
442435
-DFMT_TEST:BOOL=OFF
443436
time ninja
444-
#make test
445437
${SUDO_CMD} ninja install
446438
cd ../../
447439

@@ -475,7 +467,6 @@ cmake -GNinja .. \
475467
-DGLUT_INCLUDE_DIR=GLUT_INCLUDE_DIR-NOTFOUND \
476468
-DOPENGL_INCLUDE_DIR=OPENGL_INCLUDE_DIR-NOTFOUND
477469
time ninja
478-
#make test
479470
${SUDO_CMD} ninja install
480471
cd ../../
481472

@@ -500,7 +491,6 @@ cmake -GNinja .. \
500491
-DSPDLOG_NO_ATOMIC_LEVELS=ON \
501492
-DCMAKE_PREFIX_PATH=$INSTALL_PREFIX
502493
time ninja
503-
#make test
504494
${SUDO_CMD} ninja install
505495
cd ../../
506496

@@ -519,7 +509,6 @@ cd gmp-${GMP_VERSION}
519509
--with-pic \
520510
--enable-cxx
521511
time make -j$NPROCS
522-
#time make check
523512
${SUDO_CMD} make install
524513
cd ..
525514

@@ -537,7 +526,6 @@ cd mpfr-${MPFR_VERSION}
537526
--with-gmp-lib=$INSTALL_PREFIX/lib \
538527
--with-gmp-include=$INSTALL_PREFIX/include
539528
time make -j$NPROCS
540-
#time make check
541529
${SUDO_CMD} make install
542530
cd ..
543531

@@ -581,7 +569,6 @@ cmake -GNinja .. \
581569
-DWITH_SYMENGINE_THREAD_SAFE=ON \
582570
-DBUILD_TESTS=OFF
583571
time ninja
584-
#time make test
585572
${SUDO_CMD} ninja install
586573
cd ../../
587574

@@ -622,7 +609,6 @@ cmake -GNinja .. \
622609
-DVTK_ENABLE_WRAPPING=OFF \
623610
${VTK_OPTIONS}
624611
time ninja
625-
#make test
626612
${SUDO_CMD} ninja install
627613
cd ../../
628614

0 commit comments

Comments
 (0)