Skip to content

flang_win-64_activate.bat mixes path separators #49

@lucascolley

Description

@lucascolley

set "LDFLAGS=%LDFLAGS% -Wl,-defaultlib:%CONDA_PREFIX:\=/%/lib/clang/@MAJOR_VER@/lib/windows/clang_rt.builtins-x86_64.lib"
:: need to distinguish how we populate `-I` based on whether we're using conda build or not;
:: LIBRARY_INC is not available if not, but we cannot use CONDA_PREFIX unconditionally either,
:: as that points to the wrong environment (build instead of host) when using conda-build.
if not "%CONDA_BUILD%" == "" (
set "FFLAGS=%FFLAGS% -I%LIBRARY_INC%"
) else (
set "FFLAGS=%FFLAGS% -I%CONDA_PREFIX%\Library\include"

rattler-build complains about this, see scipy/scipy#24838

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions