From c7eb04694b8987a6fb167cf0ec0fd7f9a880a3c0 Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Tue, 4 Jun 2024 10:40:57 -0400 Subject: [PATCH 1/2] Add rebuild_cmdstan to API doc --- docsrc/api.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docsrc/api.rst b/docsrc/api.rst index f527f159..88d4dfc4 100644 --- a/docsrc/api.rst +++ b/docsrc/api.rst @@ -110,6 +110,11 @@ install_cmdstan .. autofunction:: cmdstanpy.install_cmdstan +rebuild_cmdstan +=============== + +.. autofunction:: cmdstanpy.rebuild_cmdstan + set_cmdstan_path ================ From 4560204fb4b2f207b8165c64e868a0fd0edf0ac0 Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Tue, 4 Jun 2024 10:45:08 -0400 Subject: [PATCH 2/2] CI fix --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 64872a15..7e850a5e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,7 +84,7 @@ jobs: - name: Delete precompiled header (MacOS) if: matrix.os == 'macos-latest' && steps.cache-cmdstan.outputs.cache-hit == 'true' - run: rm -f ~/.cmdstan/cmdstan-${{ needs.get-cmdstan-version.outputs.version }}/stan/src/stan/model/*.hpp.gch + run: rm -rf ~/.cmdstan/cmdstan-${{ needs.get-cmdstan-version.outputs.version }}/stan/src/stan/model/*.hpp.gch - name: Install CmdStan (Linux, macOS) if: matrix.os != 'windows-latest'