mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00
Reorder nocuda/cuda build to fail early. (#4243)
This commit is contained in:
parent
0b04439f11
commit
adb344880b
@ -7,15 +7,6 @@ CUDA_VARIANTS="cuda" # "cuda-included"
|
||||
|
||||
mkdir -p dist
|
||||
|
||||
# build the pypi linux packages, tagging with manylinux1 for pypi reasons
|
||||
docker build -t jaxbuild jax/build/
|
||||
for PYTHON_VERSION in $PYTHON_VERSIONS
|
||||
do
|
||||
mkdir -p dist/nocuda/
|
||||
docker run -it --tmpfs /build:exec --rm -v $(pwd)/dist:/dist jaxbuild $PYTHON_VERSION nocuda
|
||||
mv -f dist/*.whl dist/nocuda/
|
||||
done
|
||||
|
||||
# build the cuda linux packages, tagging with linux_x86_64
|
||||
for CUDA_VERSION in $CUDA_VERSIONS
|
||||
do
|
||||
@ -30,3 +21,12 @@ do
|
||||
done
|
||||
done
|
||||
done
|
||||
|
||||
# build the pypi linux packages, tagging with manylinux1 for pypi reasons
|
||||
docker build -t jaxbuild jax/build/
|
||||
for PYTHON_VERSION in $PYTHON_VERSIONS
|
||||
do
|
||||
mkdir -p dist/nocuda/
|
||||
docker run -it --tmpfs /build:exec --rm -v $(pwd)/dist:/dist jaxbuild $PYTHON_VERSION nocuda
|
||||
mv -f dist/*.whl dist/nocuda/
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user