Skip to content

Commit

Permalink
build arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Sep 27, 2024
1 parent 0e4731f commit 775e145
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: |
export CC=gcc-10
export CXX=g++-10
make release
make release-arm64
tar -C build -cJf glibc-tools-arm64.tar.xz libSegFault.so tracer
- name: Test
Expand Down
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@ build/configured-release:
rm -f build/configured-debug
touch build/configured-release

build/configured-release-arm64:
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DCPPTRACE_UNWIND_WITH_LIBUNWIND=On -DARCH=aarch64
rm -f build/configured-debug
touch build/configured-release

.PHONY: configure-debug
configure-debug: build/configured-debug

.PHONY: configure-release
configure-release: build/configured-release

.PHONY: configure-release-arm64
configure-release-arm64: build/configured-release-arm64

.PHONY: debug
debug: configure-debug ## build in debug mode
cmake --build build
Expand All @@ -30,6 +38,10 @@ debug: configure-debug ## build in debug mode
release: configure-release ## build in release mode (with debug info)
cmake --build build

.PHONY: release-arm64
release-arm64: configure-release-arm64 ## build in release mode (with debug info)
cmake --build build

.PHONY: clean
clean: ## clean
rm -rf build

0 comments on commit 775e145

Please sign in to comment.