File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,15 @@ jobs:
8181 - name : Set up the environment
8282 run : sh ./tools/metacall-environment.sh $METACALL_INSTALL_OPTIONS
8383 env :
84- METACALL_INSTALL_OPTIONS : base python nodejs typescript java ruby wasm rpc file cobol go backtrace # netcore5 c rust rapidjson pack # clangformat v8rep51 coverage
84+ METACALL_INSTALL_OPTIONS : base python nodejs typescript java ruby wasm rpc file cobol c go backtrace # netcore5 rust rapidjson pack # clangformat v8rep51 coverage
8585
8686 - name : Configure
8787 run : |
8888 cd build
8989 . .env
9090 bash ../tools/metacall-configure.sh $METACALL_CONFIGURE_OPTIONS
9191 env :
92- METACALL_CONFIGURE_OPTIONS : ${{ matrix.options.build }} ${{ matrix.options.sanitizer }} scripts ports tests python nodejs typescript java ruby wasm rpc file cobol go benchmarks install # netcore5 c rust examples pack # v8 coverage
92+ METACALL_CONFIGURE_OPTIONS : ${{ matrix.options.build }} ${{ matrix.options.sanitizer }} scripts ports tests python nodejs typescript java ruby wasm rpc file cobol c go benchmarks install # netcore5 rust examples pack # v8 coverage
9393
9494 - name : Build
9595 working-directory : ./build
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ else()
125125endif ()
126126
127127set (LIBTCC_TARGET libtcc-depends )
128- set (LIBTCC_COMMIT_SHA "6ec4a10 " )
128+ set (LIBTCC_COMMIT_SHA "518279d " )
129129if (PROJECT_OS_FAMILY STREQUAL macos)
130130 # TODO: --disable-static is not working on MacOS, this should be reported or further investigated, remove this when it is solved
131131 set (LIBTTC_LIBRARY_NAME "${CMAKE_STATIC_LIBRARY_PREFIX} tcc${CMAKE_STATIC_LIBRARY_SUFFIX} " )
@@ -146,7 +146,7 @@ set(LIBTTC_RUNTIME_FILES
146146ExternalProject_Add(${LIBTCC_TARGET}
147147 DOWNLOAD_NAME tinycc.tar.gz
148148 URL https://github.com/metacall/tinycc/archive/${LIBTCC_COMMIT_SHA} .tar.gz
149- URL_MD5 1d25d1a07a39c6d6671b7221d5286dc1
149+ URL_MD5 90f30075879ad6f420987549b99e5709
150150 CONFIGURE_COMMAND ${LIBTCC_CONFIGURE}
151151 BUILD_COMMAND ${LIBTCC_BUILD}
152152 BUILD_IN_SOURCE true
Original file line number Diff line number Diff line change @@ -683,8 +683,9 @@ sub_c(){
683683 mkdir -p " $ROOT_DIR /build"
684684 CMAKE_CONFIG_PATH=" $ROOT_DIR /build/CMakeConfig.txt"
685685 LIBCLANG_PREFIX=$( brew --prefix llvm@$LLVM_VERSION_STRING )
686- echo " -DLibClang_INCLUDE_DIR=${LIBCLANG_PREFIX} /include" >> $CMAKE_CONFIG_PATH
687- echo " -DLibClang_LIBRARY=${LIBCLANG_PREFIX} /lib/libclang.dylib" >> $CMAKE_CONFIG_PATH
686+ LIBCLANG_VERSION=$( brew list --versions llvm@$LLVM_VERSION_STRING | awk ' {print $2}' )
687+ echo " -DLibClang_INCLUDE_DIR=${LIBCLANG_PREFIX} /${LIBCLANG_VERSION} /lib/clang/${LIBCLANG_VERSION} /include" >> $CMAKE_CONFIG_PATH
688+ echo " -DLibClang_LIBRARY=${LIBCLANG_PREFIX} /${LIBCLANG_VERSION} /lib/libclang.dylib" >> $CMAKE_CONFIG_PATH
688689 fi
689690}
690691
You can’t perform that action at this time.
0 commit comments