This repository was archived by the owner on Aug 13, 2022. It is now read-only.
File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ PY_RUN ?= pipenv run
4
4
# extension module.
5
5
RUSTCSV_BUILD_DEBUG ?= True
6
6
RUSTCSV_BUILD_NATIVE ?= True
7
+ RUSTCSV_RUST_VERSION ?= nightly
7
8
MANYLINUX_IMAGE ?= quay.io/pypa/manylinux1_x86_64
8
9
WHEEL_PYTHON_VERSIONS ?= cp36 cp37
9
10
WHEELHOUSE = wheelhouse
@@ -87,7 +88,6 @@ benchmark: | develop-release
87
88
--benchmark-only \
88
89
--benchmark-timer $(PYTEST_BENCHMARK_TIMER ) \
89
90
--benchmark-sort $(PYTEST_BENCHMARK_SORT ) \
90
- --benchmark-histogram \
91
91
--benchmark-autosave
92
92
93
93
.PHONY : benchmark-full
@@ -133,6 +133,7 @@ build-wheels-manylinux: | requirements-files
133
133
-v $(shell pwd) :/io \
134
134
--env RUSTCSV_BUILD_DEBUG=$(RUSTCSV_BUILD_DEBUG ) \
135
135
--env RUSTCSV_BUILD_NATIVE=$(RUSTCSV_BUILD_NATIVE ) \
136
+ --env RUSTCSV_RUST_VERSION=$(RUSTCSV_RUST_VERSION ) \
136
137
--env WHEELHOUSE=/io/$(WHEELHOUSE ) \
137
138
$(MANYLINUX_IMAGE ) \
138
139
/io/travis/build-wheels-manylinux.sh $(WHEEL_PYTHON_VERSIONS )
Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ TRAVIS_DIR="$(dirname "${BASH_SOURCE[0]}")"
5
5
source " $TRAVIS_DIR /_output_helpers.sh"
6
6
7
7
# Parameters
8
- RUST_VERSION =" ${RUST_VERSION :- " nightly" } "
8
+ RUSTCSV_RUST_VERSION =" ${RUSTCSV_RUST_VERSION :- " nightly" } "
9
9
10
10
install_rust () {
11
- # install rust + cargo nightly
11
+ # install rust + cargo
12
12
# ============================
13
13
CARGO_BIN=$HOME /.cargo/bin
14
14
if ! test -d " $CARGO_BIN " ; then
15
- green " Installing rust + cargo"
15
+ green " Installing rust + cargo, version $RUSTCSV_RUST_VERSION "
16
16
curl https://sh.rustup.rs -sSf \
17
- | sh -s -- -y --default-toolchain " $RUST_VERSION "
17
+ | sh -s -- -y --default-toolchain " $RUSTCSV_RUST_VERSION "
18
18
fi
19
19
if ! grep " $CARGO_BIN " <<< " $PATH" & > /dev/null; then
20
20
green " Adding $CARGO_BIN to \$ PATH"
You can’t perform that action at this time.
0 commit comments