Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
a83297f1
Commit
a83297f1
authored
4 years ago
by
Samuel Burbulla
Browse files
Options
Downloads
Patches
Plain Diff
Change format and set more to debug.
parent
ed1b8c8b
No related branches found
No related tags found
1 merge request
!908
[added to !932] Print message when compiling code just-in-time.
Pipeline
#33818
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/dune/common/__init__.py
+1
-1
1 addition, 1 deletion
python/dune/common/__init__.py
python/dune/generator/__init__.py
+4
-4
4 additions, 4 deletions
python/dune/generator/__init__.py
with
5 additions
and
5 deletions
python/dune/common/__init__.py
+
1
−
1
View file @
a83297f1
...
...
@@ -11,7 +11,7 @@ except KeyError:
except
AttributeError
:
logger
.
warn
(
'
Invalid log level in environment variable DUNE_LOG_LEVEL
'
)
logformat
=
os
.
environ
.
get
(
'
DUNE_LOG_FORMAT
'
,
'
%(levelname)s: %(message)s
'
)
logformat
=
os
.
environ
.
get
(
'
DUNE_LOG_FORMAT
'
,
'
DUNE-
%(levelname)s: %(message)s
'
)
logging
.
basicConfig
(
format
=
logformat
,
level
=
loglevel
)
...
...
This diff is collapsed.
Click to expand it.
python/dune/generator/__init__.py
+
4
−
4
View file @
a83297f1
...
...
@@ -12,13 +12,13 @@ env_save = os.environ.get('DUNE_SAVE_BUILD' , 'FALSE').upper()
builder
=
Builder
(
env_force
in
(
'
1
'
,
'
TRUE
'
),
env_save
)
def
setNoDependencyCheck
():
logger
.
info
(
"
Switching off dependency check - modules will always be compiled
"
)
logger
.
debug
(
"
Switching off dependency check - modules will always be compiled
"
)
builderModule
.
noDepCheck
=
True
def
setDependencyCheck
():
logger
.
info
(
"
Switching on dependency check
"
)
logger
.
debug
(
"
Switching on dependency check
"
)
builderModule
.
noDepCheck
=
False
def
setFlags
(
flags
=
"
-g
"
,
noChecks
=
None
):
logger
.
info
(
"
Using compile flags
'"
+
flags
+
"'"
)
logger
.
debug
(
"
Using compile flags
'"
+
flags
+
"'"
)
builderModule
.
cxxFlags
=
flags
if
noChecks
is
True
:
setNoDependencyCheck
()
...
...
@@ -28,7 +28,7 @@ def addToFlags(pre="",post="",noChecks=None):
setFlags
(
pre
+
"
"
+
getCXXFlags
()
+
"
"
+
post
,
noChecks
)
def
unsetFlags
(
noChecks
=
None
):
logger
.
info
(
"
Using compile flags from configuration of dune-py
"
)
logger
.
debug
(
"
Using compile flags from configuration of dune-py
"
)
builderModule
.
cxxFlags
=
None
if
noChecks
is
True
:
setNoDependencyCheck
()
...
...
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