From 75200838292962db879b7e12aeba162e1504ea88 Mon Sep 17 00:00:00 2001 From: tilkinsc Date: Thu, 25 Feb 2021 17:58:49 -0500 Subject: [PATCH 1/3] Updated mac osx image version --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index eb08194..8117bfb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ jobs: dist: trusty - stage: build script: ./travis.mac.sh - osx_image: xcode10.2 + osx_image: xcode12.2 os: osx From c40386a01d1c3f4ac63b94caf4a4f601b0178e7e Mon Sep 17 00:00:00 2001 From: tilkinsc Date: Thu, 25 Feb 2021 18:08:54 -0500 Subject: [PATCH 2/3] trying out gobjcopy --- build.mac.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.mac.sh b/build.mac.sh index 5a6487a..8aa6488 100644 --- a/build.mac.sh +++ b/build.mac.sh @@ -29,7 +29,7 @@ [[ -z "${debug}" ]] && debug="0" [[ -z "${debug_coverage}" ]] && debug_coverage="0" [[ -z "${GCC}" ]] && GCC="gcc" -[[ -z "${OBJCOPY}" ]] && OBJCOPY="objcopy" +[[ -z "${OBJCOPY}" ]] && OBJCOPY="gobjcopy" [[ -z "${AR}" ]] && AR="ar" [[ -z "${MAKE}" ]] && MAKE="make" [[ -z "${GCC_VER}" ]] && GCC_VER="gnu99" @@ -63,7 +63,7 @@ Listens to these variables: debug - 0, 1 Default: 0 debug_coverage - 0, 1 Default: 0 GCC - gcc binary Default: gcc - OBJCOPY - objcopy binary Default: objcopy + OBJCOPY - gobjcopy binary Default: gobjcopy AR - ar binary Default: ar MAKE - make binary Default: make GCC_VER - stdlib version Default: gnu99 @@ -308,7 +308,7 @@ if [[ "$1" == "driver" ]]; then # Build install mv luaw "${root}" - cp -r ${resdir}/* "${root}/res" + cp -r ${resdir} "${root}/res" cp -r ${rootdir}/* "${root}" build_install "${2}" From 22b535c73a9638b6b024ac5ddc8f839ebbf10caf Mon Sep 17 00:00:00 2001 From: tilkinsc Date: Thu, 25 Feb 2021 18:47:09 -0500 Subject: [PATCH 3/3] trying out llvm-objcopy --- build.mac.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build.mac.sh b/build.mac.sh index 8aa6488..1b2b2c0 100644 --- a/build.mac.sh +++ b/build.mac.sh @@ -29,7 +29,7 @@ [[ -z "${debug}" ]] && debug="0" [[ -z "${debug_coverage}" ]] && debug_coverage="0" [[ -z "${GCC}" ]] && GCC="gcc" -[[ -z "${OBJCOPY}" ]] && OBJCOPY="gobjcopy" +[[ -z "${OBJCOPY}" ]] && OBJCOPY="llvm-objcopy" [[ -z "${AR}" ]] && AR="ar" [[ -z "${MAKE}" ]] && MAKE="make" [[ -z "${GCC_VER}" ]] && GCC_VER="gnu99" @@ -60,13 +60,13 @@ build and package accepts: Listens to these variables: debug, debug_coverage, GCC, OBJCOPY, AR, MAKE, GCC_VER - debug - 0, 1 Default: 0 - debug_coverage - 0, 1 Default: 0 - GCC - gcc binary Default: gcc - OBJCOPY - gobjcopy binary Default: gobjcopy - AR - ar binary Default: ar - MAKE - make binary Default: make - GCC_VER - stdlib version Default: gnu99 + debug - 0, 1 Default: 0 + debug_coverage - 0, 1 Default: 0 + GCC - gcc binary Default: gcc + OBJCOPY - llvm-objcopy binary Default: llvm-objcopy + AR - ar binary Default: ar + MAKE - make binary Default: make + GCC_VER - stdlib version Default: gnu99 Notes: After building, you may need to configure LD_LIBRARY_PATH to bin/Release/* to test