FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

cmake: Introduce new LFORTRAN_BUILD_ALL · Python51888/lpython@47b4bd1 · GitHub

Commit 47b4bd1

Browse files
committed
cmake: Introduce new LFORTRAN_BUILD_ALL
Deprecate `build.sh`
1 parent 2f3950a commit 47b4bd1

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
22

33
set(CMAKE_USER_MAKE_RULES_OVERRIDE ${CMAKE_SOURCE_DIR}/cmake/UserOverride.cmake)
44

5+
# We don't execute this if we have a tarball
6+
if (LFORTRAN_BUILD_ALL)
7+
execute_process(COMMAND "build0.sh")
8+
endif()
9+
510
file(STRINGS "version" LFORTRAN_VERSION)
611

712
project(lfortran LANGUAGES C CXX)

‎build.sh‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎build1.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -x
66
cmake \
77
-DCMAKE_BUILD_TYPE=Debug \
88
-DWITH_LLVM=yes \
9+
-DLFORTRAN_BUILD_ALL=yes \
910
-DWITH_STACKTRACE=yes \
1011
-DCMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH;$CONDA_PREFIX" \
1112
-DCMAKE_INSTALL_PREFIX=`pwd`/inst \

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL