talimat 705 B

12345678910111213141516171819202122232425
  1. [paket]
  2. tanim = OpenCL C çekirdeklerini SPIR-V modüllerine derleyebilen clang etrafında sarmalayıcı kitaplık
  3. paketci = Cihan_Alkan
  4. grup = kütüphane
  5. url = https://github.com/intel/opencl-clang
  6. [gerek]
  7. derleme =
  8. calisma =
  9. [kaynak]
  10. gz = ${url}/archive/v${surum}
  11. [sha256]
  12. #1 = d45f209d837c49dae6deebcdd87b8cc3b04ea290880358faecf5e7737740c771
  13. [derle]
  14. betik = cd $isim
  15. betik = cmake -B build -S opencl-clang-${surum} -DCMAKE_INSTALL_PREFIX=/usr -DLLVMSPIRV_INCLUDED_IN_LLVM=OFF -DSPIRV_TRANSLATOR_DIR=/usr -DLLVM_NO_DEAD_STRIP=ON -DPREFERRED_LLVM_VERSION=11.1.0 -Wno-dev
  16. betik = make -C build
  17. [pakur]
  18. betik = cd $isim
  19. betik = make -C build DESTDIR="${PKG}" install