hyperledger / solang

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

Unable to make stdlib #1653

Closed spino17 closed 2 weeks ago

spino17 commented 2 weeks 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 2 weeks 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 2 weeks ago

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