Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
01ce1fba
Commit
01ce1fba
authored
1 year ago
by
Amna Snene
Committed by
Adrien Béraud
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
build: update build.py
Change-Id: Iad7c8a51c467137cd397d9df6d7bce353e776f9b
parent
366382f2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dependencies/build.py
+1
-3
1 addition, 3 deletions
dependencies/build.py
with
1 addition
and
3 deletions
dependencies/build.py
+
1
−
3
View file @
01ce1fba
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment