20
20
PACKAGE_NAME=jax
21
21
PACKAGE_VERSION=${1:- jax-v0.4.7}
22
22
PACKAGE_URL=https://github.com/jax-ml/jax
23
-
23
+ PACKAGE_DIR=./jax
24
24
25
25
OS_NAME=$( grep ^PRETTY_NAME /etc/os-release | cut -d= -f2)
26
26
@@ -39,11 +39,10 @@ export EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" bash
39
39
./compile.sh
40
40
# export the path of bazel bin
41
41
export PATH=/bazel-6.5.0/output/:$PATH
42
- cd /
42
+ cd ..
43
43
44
44
pip install numpy==1.26.4 scipy opt-einsum==3.3.0 ml-dtypes==0.5.0 absl-py wheel
45
45
46
-
47
46
git clone $PACKAGE_URL
48
47
cd $PACKAGE_NAME
49
48
git checkout $PACKAGE_VERSION
@@ -52,19 +51,13 @@ if ! python setup.py install ; then
52
51
echo " ------------------$PACKAGE_NAME :Install_fails-------------------------------------"
53
52
echo " $PACKAGE_VERSION $PACKAGE_NAME "
54
53
echo " $PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Fail | Install_Fails"
55
- exit 1
56
- fi
57
-
58
- if ! python setup.py bdist_wheel ; then
59
- echo " ------------------$PACKAGE_NAME :wheel_built_fails---------------------"
60
- echo " $PACKAGE_VERSION $PACKAGE_NAME "
61
- echo " $PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Fail | wheel_built_fails"
62
- exit 2
54
+ exit 1
63
55
else
64
- echo " ------------------$PACKAGE_NAME :wheel_built_success -------------------------"
56
+ echo " ------------------$PACKAGE_NAME :Installsuccess -------------------------"
65
57
echo " $PACKAGE_VERSION $PACKAGE_NAME "
66
- echo " $PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Pass | Wheel_built_success "
67
- exit 0
58
+ echo " $PACKAGE_NAME | $PACKAGE_VERSION | $OS_NAME | GitHub | Pass | Install_success "
59
+ exit 0
68
60
fi
69
61
70
- # skipping tests as it requires tensorflow dependency.
62
+
63
+ # skipping tests as it requires tensorflow dependency.
0 commit comments