Skip to content

SizeofXXTypeInBits and additional library needed and other things #81

Description

@sonicsmooth

Typo in nlvm/llgen.nim line 1171

sizeOfXTypeInBits(dl, ty).uint32

should be

sizeOfXXTypeInBits(dl, ty).uint32

Also, I found on my system sudo apt install libzstd-dev is needed. Maybe that can go in the intructions.

Also for building llvm, in make-llvm.sh, I found the following options useful. I'm not sure how universal this is:
cmake -GNinja -DLLVM_USE_LINKER=lld -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DLLVM_ENABLE_LLD=OFF "$@" ..

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions