Skip to content
Snippets Groups Projects
Commit 26ea8320 authored by Julien Girard-Satabin's avatar Julien Girard-Satabin
Browse files

[release] Prefer vendoring local pip installation

parent faa95cc7
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ build: [ ...@@ -50,7 +50,7 @@ build: [
jobs jobs
"--promote-install-files=false" "--promote-install-files=false"
"@install" "@install"
"@ensures-onnx" "@ensures-onnx" {with-test}
"@runtest" {with-test} "@runtest" {with-test}
"@doc" {with-doc} "@doc" {with-doc}
] ]
......
...@@ -9,7 +9,7 @@ build: [ ...@@ -9,7 +9,7 @@ build: [
jobs jobs
"--promote-install-files=false" "--promote-install-files=false"
"@install" "@install"
"@ensures-onnx" "@ensures-onnx" {with-test}
"@runtest" {with-test} "@runtest" {with-test}
"@doc" {with-doc} "@doc" {with-doc}
] ]
......
(rule
(alias ensures-onnx)
(deps (package caisar))
(action
(system "curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && python3 -m pip install onnx"))
)
(cram (cram
(alias local) (alias local)
(applies_to * \ nir_to_onnx acasxu_ci arithmetic comparison sequencing) (applies_to * \ nir_to_onnx acasxu_ci arithmetic comparison sequencing)
...@@ -80,3 +73,10 @@ ...@@ -80,3 +73,10 @@
../lib/xgboost/example/california.csv ../lib/xgboost/example/california.csv
../lib/xgboost/example/california.json) ../lib/xgboost/example/california.json)
(package caisar)) (package caisar))
(rule
(alias ensures-onnx)
(deps get-pip.py)
(action
(system "python3 get-pip.py && python3 -m pip install onnx"))
)
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment