chaotic-aur / pkgbuild-llvm-git

ArchLinux PKGBUILD for "llvm-git", "lldb-git", "lld-git", "polly-git", "compiler-rt-git", "clang-git", "llvm-ocaml-git", and "llvm-libs-git"
0 stars 0 forks source link

Missing files... alternate build and install method? #4

Open xiota opened 1 month ago

xiota commented 1 month ago

There seem to be missing files in some of the packages... Wondering if this would work...

build() {
  cmake -B build_clang -S path/to/clang ...
  cmake --build build_clang

  cmake -B build_llvm -S path/to/llvm ...
  cmake --build build_llvm
  ...
}

package_clang-git() {
  DESTDIR="$pkgdir" cmake --install build_clang
}

package_llvm-git() {
  DESTDIR="$pkgdir" cmake --install build_llvm
}

...
Technetium1 commented 1 month ago

@SolarAquarion 👀