Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dyldonahue committed Aug 19, 2024
1 parent 0ceb816 commit b3882f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def run_cmake_in_docker():
# Run CMake inside the Docker container
try:
subprocess.run(
'docker-compose exec -T build_service bash -c "cmake -S . -B build && cmake --build build"',
'docker-compose run --rm ner-gcc-arm /bin/sh -c "make""',
shell=True,
check=True
)
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ def modify_activation_scripts(venv_path):
# Modify the activate script to start Docker container
try:
with open(activate_path, 'a') as activate_file:
activate_file.write("\n# Start Docker container when venv is activated\n")
activate_file.write("docker-compose up -d ner-gcc-arm\n")

# aliases

Expand Down Expand Up @@ -108,7 +106,7 @@ def main():
check_docker_and_rust()

os_type = platform.system()
venv_path = ".venv"
venv_path = ".ner-venv"

# Step 1: Create the Python virtual environment
create_venv(venv_path)
Expand Down

0 comments on commit b3882f9

Please sign in to comment.