Skip to content

libpgmath build fails on windows #1373

@harishch4

Description

@harishch4

I'm following this link to build flang for windows and facing build issues during libpgmath build. Any idea on this?

cmake command:

C:\Users\hchambet\work\flang\runtime\libpgmath\build>cmake -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_C_COMPILER="C:/Users/hchambet/work/classic-flang-llvm-project/install/bin/clang-cl.exe" -DCMAKE_CXX_COMPILER="C:/Users/hchambet/work/classic-flang-llvm-project/install/bin/clang-cl.exe" ..
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.36.32534.0
-- The CXX compiler identification is MSVC 19.36.32534.0
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: C:/Users/hchambet/AppData/Local/Programs/Python/Python311/python.exe (found version "3.11.3") found components: Interpreter
-- Looking for sqrt in m
-- Looking for sqrt in m - not found
-- Configuring done (12.0s)
-- Generating done (2.6s)
-- Build files have been written to: C:/Users/hchambet/work/flang/runtime/libpgmath/build

Errors:

image

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