Skip to content
Snippets Groups Projects
Commit 01ce1fba authored by Amna Snene's avatar Amna Snene Committed by Adrien Béraud
Browse files

build: update build.py

Change-Id: Iad7c8a51c467137cd397d9df6d7bce353e776f9b
parent 366382f2
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ import os
import logging
# Configure the logging system
logging.basicConfig(filename='install.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
logging.basicConfig(filename='install/install.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
# Define paths and directories
opendht_dir = "opendht"
......@@ -106,8 +106,6 @@ def build_and_install_restinio():
subprocess.run(cmake_command, cwd=restino_build_dir, check=True)
subprocess.run(["make", "-j8"], cwd=restino_build_dir, check=True)
subprocess.run(["make", "install"], cwd=restino_build_dir, check=True)
# subprocess.run(["cd", "../.."], check=True)
# subprocess.run(["rm", "-rf", "restinio"], check=True)
logging.info("restinio built and installed successfully.")
except subprocess.CalledProcessError as e:
......
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