Skip to content

Commit 4b77aa6

Browse files
committed
Allow ARM64 machines for building
1 parent 047c260 commit 4b77aa6

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,4 +517,3 @@ $(SJ2_TEST_OBJECT_DIR)/%.o: %
517517
@$(TEST_CPPC) $(TEST_FLAGS) \
518518
-MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
519519
@printf '$(YELLOW)Built Source (C++) $(RESET): $<\n'
520-

setup

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,6 @@ function request_sudo_privileges() {
6666
sudo echo "" || exit 1
6767
}
6868

69-
function quit_if_not_64_bit() {
70-
echo " ──────────────────────────────────────────────────┐"
71-
echo " Detecting your platform "
72-
echo "└────────────────────────────────────────────────── "
73-
if [[ "$ARCH" != 'x86_64' || "$ARCH" == "amd64" ]]; then
74-
echo 'Only 64-bit architecture systems are supported!'
75-
exit 1
76-
fi
77-
}
78-
7969
function install_linux_prerequisites() {
8070
echo " ──────────────────────────────────────────────────┐"
8171
echo ""
@@ -135,8 +125,8 @@ function install_mac_osx_prerequisites() {
135125
echo " ───────────────────────────────────────────────────┐"
136126
echo " Brew Installing gcc "
137127
echo "└─────────────────────────────────────────────────── "
138-
brew install gcc@9
139-
brew link --overwrite gcc@9
128+
brew install gcc@10
129+
brew link --overwrite gcc@10
140130

141131
return $(($git_status + $brew_install))
142132
}
@@ -291,7 +281,6 @@ function final_install_check() {
291281
###############
292282

293283
quit_if_script_was_run_as_root
294-
quit_if_not_64_bit
295284

296285
if [[ "$1" == "--generate-location-file" ]]; then
297286
echo " Generating Location File..."

0 commit comments

Comments
 (0)