hsuwill000 commited on
Commit
1750dd9
·
verified ·
1 Parent(s): cb18b9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 -j 2")
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...")