Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions conda/conda_build_config.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ source:
build:
number: 0
string: py{{ PY_VER }}
script_env:
- CC=gcc # [win]
#script_env:
# - CC=gcc # [win]
preserve_egg_dir: True
script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-build-isolation -vv

Expand All @@ -35,7 +35,7 @@ requirements:
{% for dep in build_deps %}
- {{ dep }}
{% endfor %}
- {{ compiler('fortran') }} # [not win]
- {{ compiler('fortran') }}
- {{ compiler('c') }}
- charset-normalizer
run:
Expand Down
3 changes: 3 additions & 0 deletions native.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[binaries]
fortran = 'flang'

7 changes: 7 additions & 0 deletions src/openalea/ratp/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ py_mod = import('python')
py = py_mod.find_installation(pure: false)
py_dep = py.dependency()



# Conditionally add Flang runtime linker flags only on Windows
if host_machine.system() == 'windows'
add_project_link_arguments(['-lFortranRuntime', '-lFortranDecimal'], language : 'fortran')
endif

sources = files([
'../../f90/mod_Constant_ValuesF2PY.f90',
'../../f90/mod_Grid3DF2PY_64bit.f90',
Expand Down
Loading