Skip to content

Commit

Permalink
aarch64: build ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl committed Sep 24, 2023
1 parent c58a936 commit 194f9b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
15 changes: 10 additions & 5 deletions build/ninja/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# http://www.illumos.org/license/CDDL.
# }}}

# Copyright 2022 OmniOS Community Edition (OmniOSce) Association.
# Copyright 2023 OmniOS Community Edition (OmniOSce) Association.

. ../../lib/build.sh

Expand All @@ -25,16 +25,21 @@ DESC="A small build system with a focus on speed"
set_arch 64
test_relver '>=' 151043 && set_clangver

CONFIGURE_OPTS[amd64]="
-DCMAKE_INSTALL_PREFIX=$PREFIX
-DCMAKE_BUILD_TYPE=Release
"
CONFIGURE_OPTS="-DCMAKE_BUILD_TYPE=Release"

TESTSUITE_MAKE="./ninja_test"
MAKE_TESTSUITE_ARGS=

TESTSUITE_SED='s/\/[0-9][0-9]*\]/\/...]/'

pre_configure() {
typeset arch=$1

CONFIGURE_OPTS[$arch]="
-DCMAKE_INSTALL_PREFIX=$PREFIX
"
}

init
download_source $PROG "v$VER"
patch_source
Expand Down
1 change: 1 addition & 0 deletions doc/baseline.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ extra.omnios ooce/database/bdb
extra.omnios ooce/database/lmdb
extra.omnios ooce/database/postgresql-14
extra.omnios ooce/database/postgresql-common
extra.omnios ooce/developer/ninja
extra.omnios ooce/file/tree
extra.omnios ooce/fonts/liberation
extra.omnios ooce/library/fontconfig
Expand Down
1 change: 1 addition & 0 deletions doc/pkglist.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ ooce/library/pixman
ooce/library/libuv
ooce/library/json-c
ooce/library/onig
ooce/developer/ninja
###############################################################################
.SYSROOT
ooce/audio/flac
Expand Down

0 comments on commit 194f9b8

Please sign in to comment.