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 .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
- name: Compile
env:
HQ_BUILD_VERSION: ${{ needs.set-env.outputs.version }}
run: cross build --target ${{ matrix.arch }} --no-default-features --profile dist
run: cross build --target ${{ matrix.arch }} --no-default-features --features dashboard,highs --profile dist

- name: Prepare archive
id: archive
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ jobs:
key: ${{ matrix.os }}

- name: Build HyperQueue
run: cargo build --no-default-features
run: cargo build --no-default-features --features dashboard,highs
- name: Run HyperQueue
run: cargo run --no-default-features -- --version
run: ./target/debug/hq --version

- name: Setup Python
uses: actions/setup-python@v2
Expand Down
7 changes: 6 additions & 1 deletion crates/pyhq/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "hyperqueue"
crate-type = ["cdylib"]

[dependencies]
hyperqueue = { path = "../hyperqueue" }
hyperqueue = { path = "../hyperqueue", default-features = false, features = ["jemalloc"] }
tako = { path = "../tako" }

serde = { workspace = true }
Expand All @@ -31,6 +31,11 @@ pyo3-async-runtimes = { version = "0.25", features = ["tokio-runtime"] }
pythonize = "0.25"
termcolor = "1.1"

[features]
default = ["highs"]
highs = ["hyperqueue/highs"]
microlp = ["hyperqueue/microlp"]

[package.metadata.maturin]
python-source = "python"

Expand Down
2 changes: 1 addition & 1 deletion crates/tako/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition.workspace = true
rust-version.workspace = true

[features]
default = ["highs"]
default = []
highs = ["dep:highs"]
microlp = ["dep:microlp"]

Expand Down
Loading