Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cleanup
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

rm -rf src/*.o src/*.so src/*.dll src/*.a src/rust/vendor src/rust/target
rm -rf src/Makevars src/*.o src/*.so src/*.dll src/*.a src/rust/vendor src/rust/target
4 changes: 3 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ if [ "$(uname)" = "Emscripten" ]; then
TARGET="wasm32-unknown-emscripten"
fi

sed -e "s/@TARGET@/${TARGET}/" -e "s|@R_HOME@|${R_HOME}|" src/Makevars.in > src/Makevars
CC_ALONE=`$R_HOME/bin/R CMD config CC | awk '{print $1}'`

sed -e "s/@TARGET@/${TARGET}/" -e "s|@R_HOME@|${R_HOME}|" -e "s|@CC_ALONE@|${CC_ALONE}|" src/Makevars.in > src/Makevars
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 2.1.3
pkgdown_sha: ~
articles:
clarabel: clarabel.html
last_built: 2025-09-23T16:41Z
last_built: 2025-09-23T18:04Z
urls:
reference: https://oxfordcontrol.github.io/clarabel-r/reference
article: https://oxfordcontrol.github.io/clarabel-r/articles
4 changes: 2 additions & 2 deletions docs/reference/clarabel.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/Makevars.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
TARGET = @TARGET@
R_HOME = @R_HOME@
CC_ALONE = @CC_ALONE@
VENDORING = yes
VENDOR_SRC = ./rust/vendor.tar.xz
VENDOR_DIR = ./rust/vendor
Expand Down Expand Up @@ -35,6 +36,7 @@ $(STATLIB):
export CARGO_HOME=$(CARGOTMP); \
export R_HOME=$(R_HOME); \
export PATH="$(PATH):$(HOME)/.cargo/bin"; \
export RUSTFLAGS="-C linker=${CC_ALONE}"; \
cargo build $(CARGO_BUILD_ARGS) --release --offline; \
else \
cargo build $(CARGO_BUILD_ARGS); \
Expand All @@ -43,6 +45,7 @@ $(STATLIB):
export CC="$(CC)" && \
export R_HOME="$(R_HOME)" && \
export CFLAGS="$(CFLAGS)" && \
export LDFLAGS="$(LDFLAGS)" && \
export CARGO_PROFILE_DEV_PANIC="abort" && \
export CARGO_PROFILE_RELEASE_PANIC="abort" && \
cargo +nightly build $(CARGO_BUILD_ARGS) -Zbuild-std=panic_abort,std; \
Expand Down
Loading