Skip to content

Commit e8e319b

Browse files
authored
Merge pull request #57 from sys-bio/update-libsbml
Update libsbml and libsbml's build.
2 parents 96a784d + e67a1bb commit e8e319b

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: BuildLibRoadRunnerDependencies
2+
env:
3+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true' #for seanmiddleditch/gha-setup-ninja and ilammy/msvc-dev-cmd.
24

35
on:
46
push:
@@ -64,13 +66,13 @@ jobs:
6466

6567
steps:
6668
- name: Checkout LibRoadRunner Dependencies
67-
uses: actions/checkout@v4
69+
uses: actions/checkout@main
6870
with:
6971
submodules: recursive
7072

7173
- name: Set MSVC as the default compiler on Windows
7274
if: matrix.platform.os_type == 'windows'
73-
uses: ilammy/msvc-dev-cmd@v1.13.0
75+
uses: ilammy/msvc-dev-cmd@v1
7476

7577
- name: Upgrade gcc on Linux
7678
if: matrix.platform.os_type == 'manylinux'
@@ -91,6 +93,7 @@ jobs:
9193
fi
9294
9395
- name: Setup Ninja
96+
if: matrix.platform.os_type == 'manylinux'
9497
uses: seanmiddleditch/gha-setup-ninja@master
9598

9699
- name: Get Host Architecture
@@ -143,7 +146,7 @@ jobs:
143146
144147
- name: Cache ccache files on non-Windows
145148
if: matrix.platform.os_type != 'windows'
146-
uses: actions/cache@v4
149+
uses: actions/cache@main
147150
with:
148151
path: ${RUNNER_WORKSPACE}/.ccache
149152
key:
@@ -198,7 +201,7 @@ jobs:
198201
echo "artifacts_path=${RUNNER_WORKSPACE}/install-libroadrunner-deps" >> "${GITHUB_ENV}"
199202
200203
- name: Upload LibRoadRunner Dependencies binaries
201-
uses: actions/upload-artifact@v4
204+
uses: actions/upload-artifact@main
202205
with:
203206
name: ${{env.artifacts_name}}
204207
path: ${{env.artifacts_path}}

third_party/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ set(EXPAT_LIBRARY "$<TARGET_LINKER_FILE:expat>" CACHE FILEPATH "Expat library" F
7171
message(STATUS "Adding libsbml as subdirectory")
7272
set(WITH_EXPAT ON CACHE BOOL "Compile libsbml with the expat library" FORCE)
7373
set(WITH_LIBXML OFF CACHE BOOL "Compile libsbml with libxml (off by default)" FORCE)
74+
SET(BZIP_INITIAL_VALUE OFF CACHE BOOL "Compile libsbml without bzip" FORCE)
75+
SET(WITH_ZLIB OFF CACHE BOOL "Compile libsbml without zlib" FORCE)
7476
add_subdirectory(libsbml)
7577

7678
# needed because of the weird way libsbml handles the "lib" prefix

0 commit comments

Comments
 (0)