From ce727e8beae603a86cc18ed8bb592b8732593a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20No=C3=ABl?= Date: Thu, 18 Dec 2025 23:16:44 -0300 Subject: [PATCH 1/4] Updated MaBoSS version --- addons/PhysiBoSS/CMakeLists.txt | 2 +- addons/PhysiBoSS/setup_libmaboss.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/PhysiBoSS/CMakeLists.txt b/addons/PhysiBoSS/CMakeLists.txt index 8ea5b2cce..cc3b82e9c 100644 --- a/addons/PhysiBoSS/CMakeLists.txt +++ b/addons/PhysiBoSS/CMakeLists.txt @@ -1,4 +1,4 @@ -set(MABOSS_VERSION v2.5.6) +set(MABOSS_VERSION v2.6.5.3) function(create_physiboss_target MAX_NODES) set(TARGET_NAME PhysiBoSS_${MAX_NODES}n) diff --git a/addons/PhysiBoSS/setup_libmaboss.py b/addons/PhysiBoSS/setup_libmaboss.py index 888dd2748..8fb348c56 100644 --- a/addons/PhysiBoSS/setup_libmaboss.py +++ b/addons/PhysiBoSS/setup_libmaboss.py @@ -20,7 +20,7 @@ # Assume Windows mb_file = "" url = "" - maboss_version = "v2.5.6" + maboss_version = "v2.6.5.3" if os_type.lower() == 'darwin': if "ARM64" in platform.uname().version: mb_file = "libMaBoSS-macos-arm64.tar.gz" From 3dd843e7d15e9d1eab4ae68ce0bfed4e2867a5e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20No=C3=ABl?= Date: Thu, 18 Dec 2025 23:17:57 -0300 Subject: [PATCH 2/4] Detecting MSVC and downloading a specific version of libmaboss --- addons/PhysiBoSS/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/PhysiBoSS/CMakeLists.txt b/addons/PhysiBoSS/CMakeLists.txt index cc3b82e9c..e7ab48ca1 100644 --- a/addons/PhysiBoSS/CMakeLists.txt +++ b/addons/PhysiBoSS/CMakeLists.txt @@ -25,7 +25,11 @@ function(create_physiboss_target MAX_NODES) STREQUAL "arm64") set(MABOSS_ARCHIVE libMaBoSS-macos-arm64.tar.gz) elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") - set(MABOSS_ARCHIVE libMaBoSS-win64.tar.gz) + if (MSVC) + set(MABOSS_ARCHIVE libMaBoSS-win64-msvc.tar.gz) + else() + set(MABOSS_ARCHIVE libMaBoSS-win64.tar.gz) + endif() else() message(FATAL_ERROR "Unsupported OS: ${CMAKE_SYSTEM_NAME}") endif() From 865f25ba1151b1a5a314e98b74919cd8e88cee86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20No=C3=ABl?= Date: Thu, 18 Dec 2025 23:18:45 -0300 Subject: [PATCH 3/4] Updating include to reflect the new directory structure --- addons/PhysiBoSS/src/maboss_network.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/PhysiBoSS/src/maboss_network.h b/addons/PhysiBoSS/src/maboss_network.h index 5aace16d3..869106796 100644 --- a/addons/PhysiBoSS/src/maboss_network.h +++ b/addons/PhysiBoSS/src/maboss_network.h @@ -1,9 +1,7 @@ #ifndef _MaBoSS_Net_h_ #define _MaBoSS_Net_h_ -#include "StochasticSimulationEngine.h" -#include "BooleanNetwork.h" -#include "RunConfig.h" +#include "engines/StochasticSimulationEngine.h" #include "../../../core/PhysiCell_utilities.h" /** From 899d5937554f43a67f9cf0ea823a87325c9de36e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20No=C3=ABl?= Date: Thu, 18 Dec 2025 23:19:22 -0300 Subject: [PATCH 4/4] Activating physiboss on msvc workflows --- .github/workflows/build_binaries_cmake.yml | 2 +- .github/workflows/tests_cmake.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_binaries_cmake.yml b/.github/workflows/build_binaries_cmake.yml index 149d6a083..b124c78ab 100644 --- a/.github/workflows/build_binaries_cmake.yml +++ b/.github/workflows/build_binaries_cmake.yml @@ -27,7 +27,7 @@ jobs: - os: windows-latest c_compiler: cl cpp_compiler: cl - build_physiboss: "OFF" + build_physiboss: "ON" - os: ubuntu-latest c_compiler: gcc cpp_compiler: g++ diff --git a/.github/workflows/tests_cmake.yml b/.github/workflows/tests_cmake.yml index 25f9a3117..a7b80ce78 100644 --- a/.github/workflows/tests_cmake.yml +++ b/.github/workflows/tests_cmake.yml @@ -36,7 +36,7 @@ jobs: {"use_physiboss": false, cwd: "build/sample_projects/episode", name: "PhysiCell Episode", binary: "episode", max_time: 120, config: "config/PhysiCell_settings.xml", validation_output_folder: ""}, ] platform: [ - {"os": "windows-latest", "c_compiler": "cl", "cpp_compiler": "cl", "build_physiboss": "OFF"}, + {"os": "windows-latest", "c_compiler": "cl", "cpp_compiler": "cl", "build_physiboss": "ON"}, {"os": "ubuntu-latest", "c_compiler": "gcc", "cpp_compiler": "g++", "build_physiboss": "ON"}, {"os": "ubuntu-latest", "c_compiler": "clang", "cpp_compiler": "clang++", "build_physiboss": "ON"}, {"os": "macos-latest", "c_compiler": "gcc-15", "cpp_compiler": "g++-15", "build_physiboss": "ON"},