This repository was archived by the owner on Jun 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-13
lines changed
compiler/llvm/c_src/lib/CAPI Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 4747 tar -xzf "clang+llvm-${LLVM_VERSION}-x86_64-apple-darwin21.0.tar.xz"
4848 mv "clang+llvm-${LLVM_VERSION}-x86_64-apple-darwin21.0" firefly
4949 popd
50+ echo ~/.local/share/llvm/firefly/bin/llvm-config --cxxflags
51+ echo ~/.local/share/llvm/firefly/bin/llvm-config --ldflags
52+ echo ~/.local/share/llvm/firefly/bin/llvm-config --host-target
5053 - name : Set LLVM_PREFIX
5154 run : echo "LLVM_PREFIX=$HOME/.local/share/llvm/firefly" >> $GITHUB_ENV
5255 - name : Install Ninja
Original file line number Diff line number Diff line change 3737 echo "$("${LLVM_PREFIX}/bin/llvm-config" --prefix)"
3838 exit 1
3939 fi
40+ echo "${LLVM_PREFIX}/bin/llvm-config" --cxxflags
41+ echo "${LLVM_PREFIX}/bin/llvm-config" --ldflags
42+ echo "${LLVM_PREFIX}/bin/llvm-config" --host-target
4043 - name : Install Rust
4144 uses : actions-rs/toolchain@v1
4245 with :
Original file line number Diff line number Diff line change @@ -252,16 +252,3 @@ LLVMBool LLVM_InitializeNativeAsmPrinter(void) {
252252LLVMBool LLVM_InitializeNativeDisassembler (void ) {
253253 return LLVMInitializeNativeDisassembler ();
254254}
255-
256- LLVMTargetDataRef LLVMCreateTargetDataLayout (LLVMTargetMachineRef T) {
257- return wrap (new DataLayout (unwrap (T)->createDataLayout ()));
258- }
259-
260- void LLVMDisposeTargetMachine (LLVMTargetMachineRef T) { delete unwrap (T); }
261-
262- char *LLVMGetHostCPUName (void ) { return strdup (sys::getHostCPUName ().data ()); }
263-
264- char *LLVMGetTargetMachineTriple (LLVMTargetMachineRef T) {
265- std::string StringRep = unwrap (T)->getTargetTriple ().str ();
266- return strdup (StringRep.c_str ());
267- }
You can’t perform that action at this time.
0 commit comments