Well, I emerge from a week of getting my new Windows 10 machine
running smoothly. Now I have to tackle the LLVM build. When I do a
build, I get a boatload of the following messages. I searched my
old machine for settings involving policies, with no luck. I don't
recall seeing these when I started building LLVM on my old
machine. As always, any help is appreciated and your patience duly
noted.
-------------------------------------
CMake Warning (dev) at
C:/LLVM/llvm-project/llvm/cmake/modules/TableGen.cmake:94
(add_custom_command):
Policy CMP0116 is not set: Ninja generators transform DEPFILEs
from
add_custom_command(). Run "cmake --help-policy CMP0116" for
policy
details. Use the cmake_policy command to set the policy and
suppress this
warning.
Call Stack (most recent call first):
C:/LLVM/llvm-project/mlir/cmake/modules/AddMLIR.cmake:2
(tablegen)
C:/LLVM/llvm-project/mlir/test/lib/Dialect/Test/CMakeLists.txt:28
(mlir_tablegen)
This warning is for project developers. Use -Wno-dev to
suppress it.
----------------------------------------------
Michael
Am Do., 4. März 2021 um 14:44 Uhr schrieb Paul C. Anagnostopoulos via
llvm-dev <llvm...@lists.llvm.org>:
> _______________________________________________
> LLVM Developers mailing list
> llvm...@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Michael
Am Fr., 5. März 2021 um 08:13 Uhr schrieb Paul C. Anagnostopoulos via
llvm-dev <llvm...@lists.llvm.org>:
>
I uninstalled Cmake 2.20 and installed 2.19. Then I could make
some progress. My build is now hanging after a series of the
following messages. I mean really hanging; I have to blow away the
process. Does anyone know what a PDB error is?
I'm not sure what a "vcvar" is. Here is the command I used to run Cmake:
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_DOCS=ON -DLLVM_ENABLE_PROJECTS=Clang;lld;llvm;mlir -DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF -S c:\llvm\llvm-project\llvm
Then I remembered I wanted the 64-bit linker and edited CMakeCache.txt. Why is it using the 32-bit linker?
//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/link.exe
Ah, but I see these. Do they matter?
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:X86
...
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:X86
——————————————————————
Windfall Paul C. Anagnostopoulos
—————————————————
Software 978 369-0839
——————————————————————
My life has been filled with calamities,
some of which actually happened.
—Mark Twain
Guga 'mzimba, sala 'nhliziyo