Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ def run_command(command, cwd=None):
|
|
13 |
def install_openblas():
|
14 |
# Step 1: Clone the OpenBLAS repository
|
15 |
print("Cloning the OpenBLAS repository...")
|
|
|
16 |
run_command("git clone https://github.com/OpenMathLib/OpenBLAS.git")
|
17 |
|
18 |
# Step 2: Change to the OpenBLAS directory
|
@@ -20,7 +21,7 @@ def install_openblas():
|
|
20 |
|
21 |
# Step 3: Build OpenBLAS
|
22 |
print("Building OpenBLAS...")
|
23 |
-
run_command("make
|
24 |
|
25 |
# Step 4: Install OpenBLAS
|
26 |
print("Installing OpenBLAS...")
|
|
|
13 |
def install_openblas():
|
14 |
# Step 1: Clone the OpenBLAS repository
|
15 |
print("Cloning the OpenBLAS repository...")
|
16 |
+
run_command("apt-get install build-essential gfortran")
|
17 |
run_command("git clone https://github.com/OpenMathLib/OpenBLAS.git")
|
18 |
|
19 |
# Step 2: Change to the OpenBLAS directory
|
|
|
21 |
|
22 |
# Step 3: Build OpenBLAS
|
23 |
print("Building OpenBLAS...")
|
24 |
+
run_command("make TARGET=SAPPHIRERAPIDS")
|
25 |
|
26 |
# Step 4: Install OpenBLAS
|
27 |
print("Installing OpenBLAS...")
|