hyperledger-solang / solang

Solidity Compiler for Solana and Polkadot
https://solang.readthedocs.io/
Apache License 2.0
1.27k stars 215 forks source link

Unable to make stdlib #1653

Closed spino17 closed 5 months ago

spino17 commented 5 months ago

I tried running make in stdlib as mentioned in #1652. Getting the following error:


error: unknown target triple 'sbf', please use -triple or -arch
make: *** [../target/bpf/solana.bc] Error 1```
seanyoung commented 5 months ago

You need to use the llvm build with includes our changes,see https://solang.readthedocs.io/en/v0.3.3/installing.html#step-1-install-the-llvm-libraries

spino17 commented 5 months ago

I did used that, still the same issue is coming @seanyoung