conda-forge / lfortran-feedstock

A conda-smithy repository for lfortran.
BSD 3-Clause "New" or "Revised" License
6 stars 9 forks source link

Update LFortran to 0.42.0 #103

Closed certik closed 1 day ago

certik commented 2 days ago

Checklist

certik commented 2 days ago

@conda-forge-admin, please rerender

conda-forge-admin commented 2 days ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

certik commented 2 days ago

On macOS we get:

C compiler      : /Users/runner/miniforge3/conda-bld/lfortran_1731613895812/_build_env/bin/x86_64-apple-darwin13.4.0-clang
C++ compiler    : /Users/runner/miniforge3/conda-bld/lfortran_1731613895812/_build_env/bin/x86_64-apple-darwin13.4.0-clang++
Build type: Release
C compiler flags      : -O3 -DNDEBUG
C++ compiler flags    : -Wall -Wextra -O3 -funroll-loops -DNDEBUG
Installation prefix: /Users/runner/miniforge3/conda-bld/lfortran_1731613895812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_
WITH_LFORTRAN_ASSERT: no
LFORTRAN_STATIC_BIN: no
LFORTRAN_BUILD_TO_WASM: no
WITH_STACKTRACE: no
WITH_RUNTIME_STACKTRACE: yes
WITH_UNWIND: yes
WITH_LIBUNWIND: no
WITH_BFD: no
WITH_LLVM_STACKTRACE: no
WITH_DWARFDUMP: no
WITH_LINKH: no
WITH_MACHO: yes
HAVE_LFORTRAN_DEMANGLE: yes
WITH_LLVM: yes
WITH_MLIR: no
WITH_XEUS: yes
WITH_JSON: no
WITH_LSP: no
WITH_FMT: no
WITH_LFORTRAN_BINARY_MODFILES: YES
WITH_RUNTIME_LIBRARY: yes
WITH_WHEREAMI: yes
WITH_ZLIB: yes
WITH_TARGET_AARCH64: no
WITH_TARGET_X86: yes
WITH_TARGET_WASM: yes
WITH_KOKKOS: no
CXXFLAGS: -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/runner/miniforge3/conda-bld/lfortran_1731613895812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/lfortran_1731613895812/work=/usr/local/src/conda/lfortran-0.42.0 -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/lfortran_1731613895812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_=/usr/local/src/conda-prefix -D__STDC_FORMAT_MACROS -D_LIBCPP_DISABLE_AVAILABILITY
CFLAGS: -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniforge3/conda-bld/lfortran_1731613895812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/lfortran_1731613895812/work=/usr/local/src/conda/lfortran-0.42.0 -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/lfortran_1731613895812/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_=/usr/local/src/conda-prefix
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

/Users/runner/miniforge3/conda-bld/lfortran_1731613895812/work/src/libasr/codegen/asr_to_cpp.cpp:1:10: fatal error: 'iostream' file not found
    1 | #include <iostream>
      |          ^~~~~~~~~~
1 error generated.
certik commented 1 day ago

We need to get the package working again with the old version first: https://github.com/conda-forge/lfortran-feedstock/pull/104, then we can finish this PR.

certik commented 1 day ago

This might be the way to do it: https://github.com/conda-forge/lfortran-feedstock/pull/106, or rather just https://github.com/conda-forge/lfortran-feedstock/pull/107.

The PRs #107 and #108 should fix the main branch to work and build again and be updated (rerendered).

Then we can rebase this PR on top and see if the new lfortran version actually works.

certik commented 1 day ago

Above I merged it with #108 to see if this will work.

certik commented 1 day ago

@conda-forge-admin, please rerender

conda-forge-admin commented 1 day ago

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11862617028.

certik commented 1 day ago

Closing in favor of https://github.com/conda-forge/lfortran-feedstock/pull/109.