Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gvec_to_python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gvec-group
gvec_to_python
Merge requests
!17
Add compile flag `--conda-warnings off` only if pyccel version is 1.8.0 or greater.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Add compile flag `--conda-warnings off` only if pyccel version is 1.8.0 or greater.
pyccel-flag
into
master
Overview
0
Commits
1
Pipelines
1
Changes
4
Merged
Add compile flag `--conda-warnings off` only if pyccel version is 1.8.0 or greater.
Stefan Possanner
requested to merge
pyccel-flag
into
master
Jul 10, 2023
Overview
0
Commits
1
Pipelines
1
Changes
4
This allows for faster compilation; pyccel v1.8.0 got a littel slower than previosu versions.
0
0
Merge request reports
Viewing commit
09970cf8
Show latest version
4 files
+
14
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
09970cf8
Add compile flag `--conda-warnings off` only if pyccel version is 1.8.0 or greater.
· 09970cf8
Stefan Possanner
authored
Jul 10, 2023
src/gvec_to_python/console/compile.py
+
10
−
0
View file @ 09970cf8
Edit in single-file editor
Open in Web IDE
Show full file
@@ -3,13 +3,23 @@ def compile_gvec_to_python():
import
subprocess
import
os
import
gvec_to_python
import
pyccel
libpath
=
gvec_to_python
.
__path__
[
0
]
# pyccel flags
flags
=
''
_li
=
pyccel
.
__version__
.
split
(
'
.
'
)
_num
=
int
(
_li
[
0
])
*
100
+
int
(
_li
[
1
])
*
10
+
int
(
_li
[
2
])
if
_num
>=
180
:
flags
+=
'
--conda-warnings off
'
print
(
'
\n
Compiling gvec-to-python kernels ...
'
)
subprocess
.
run
([
'
make
'
,
'
-f
'
,
os
.
path
.
join
(
libpath
,
'
Makefile
'
),
'
flags=
'
+
flags
,
'
install_path=
'
+
libpath
,
],
check
=
True
,
cwd
=
libpath
)
print
(
'
Done.
'
)
Loading