From 11579b1c008009bf8f0daf762df379da89d5c115 Mon Sep 17 00:00:00 2001 From: Li Chong Yun <45286352+licy183@users.noreply.github.com> Date: Wed, 20 Jul 2022 16:43:53 +0800 Subject: [PATCH] lfortran: update to 0.16.0 --- .../CMakeLists.txt.patch.beforehostbuild | 16 ++++++++-------- packages/lfortran/build.sh | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/lfortran/CMakeLists.txt.patch.beforehostbuild b/packages/lfortran/CMakeLists.txt.patch.beforehostbuild index 0e58099708..5e9c92d6af 100644 --- a/packages/lfortran/CMakeLists.txt.patch.beforehostbuild +++ b/packages/lfortran/CMakeLists.txt.patch.beforehostbuild @@ -1,11 +1,11 @@ --- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -82,7 +82,7 @@ ++++ b/CMakeLists.mod.txt +@@ -107,7 +107,7 @@ + + # Find ZLIB with our custom finder before including LLVM since the finder for LLVM + # might search for ZLIB again and find the shared libraries instead of the static ones +- find_package(StaticZLIB REQUIRED) ++ find_package(ZLIB REQUIRED) + endif() - # Find ZLIB with our custom finder before including LLVM since the finder for LLVM - # might search for ZLIB again and find the shared libraries instead of the static ones --find_package(StaticZLIB REQUIRED) -+find_package(ZLIB) - # LLVM - set(WITH_LLVM no CACHE BOOL "Build with LLVM support") diff --git a/packages/lfortran/build.sh b/packages/lfortran/build.sh index 5afb066fea..18dd6eb2f3 100644 --- a/packages/lfortran/build.sh +++ b/packages/lfortran/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://lfortran.org/ TERMUX_PKG_DESCRIPTION="A modern open-source interactive Fortran compiler" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=0.15.0 +TERMUX_PKG_VERSION=0.16.0 TERMUX_PKG_SRCURL=https://gitlab.com/lfortran/lfortran.git TERMUX_PKG_DEPENDS="clang, libc++, libkokkos, zlib" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DBUILD_SHARED_LIBS=ON"