ookiineko-cygpkg / llvm

Cygwin LLVM packaging
0 stars 0 forks source link

add CI #1

Open Kreijstal opened 5 months ago

Kreijstal commented 5 months ago

to check for bugs

ghost commented 5 months ago

if u want prebuilt binaries, here is all the vers: https://cygwin-llvm-revived-mirror.d0ve.workers.dev/0:/experimental/

ghost commented 5 months ago

it is installable via setup.exe, just extract to somewhere then host a http server using the the extracted folder as server root, then in cygwin setup add a software source to ur server address. alternatively you can paste the extracted folder to ur cygwin local package cache, and select install from local package cache

ghost commented 5 months ago

i haven't ran the testsuite for llvm and stuffs yet, i only bubble test a few simple programs that i need to compile, since this port is for my personal use anyway. if you want to build these packages, you can install cygport and run cygport PKGNAME.cygport fetch prep build install to download the source files and build

the result will be under dists iirc in the newly created directory (usually named PKGNAME-VER.ARCH or sth

ghost commented 5 months ago

bug report is welcome though, i m just lazy to run the tests...

ghost commented 5 months ago

if you are interested about how to update the version of these llvm pkgs, you can ask me in email

ghost commented 5 months ago

rust related question is also ok, i can guide you to build. but i dont yet have time to write a blog post about it... also i am currently willing to swtich from fedora cygwin cross compilers to my own arch-cygwin but many libs (like curl, needed by cargo) are not pkged yet, so you can help by opening pull requests, as well

Kreijstal commented 5 months ago

rust related question is also ok, i can guide you to build. but i dont yet have time to write a blog post about it... also i am currently willing to swtich from fedora cygwin cross compilers to my own arch-cygwin but many libs (like curl, needed by cargo) are not pkged yet, so you can help by opening pull requests, as well

are you using msys2 pacman?

ghost commented 5 months ago

msys2 is a fork of cygwin designed to use the posix env to assist building of mingw programs, its not degisned to package all posix softwares (a lot of cygwin stuffs not present in msys2, like x11)

i was not using msys2's pacman for experimenting

arch-cygwin runs on archlinux and llvm pkg need to be compiled right on a real cygwin installation

Kreijstal commented 5 months ago

msys2 is a fork of cygwin designed to use the posix env to assist building of mingw programs, its not degisned to package all posix softwares (a lot of cygwin stuffs not present in msys2, like x11)

i was not using msys2's pacman for experimenting

arch-cygwin runs on archlinux and llvm pkg need to be compiled right on a real cygwin installation

Ahhh you are cross compiling from archlinux I understand now. I misunderstood, I thought you were using a distro of cygwin that was arch-based...

ghost commented 5 months ago

yes i was cross compiling rust on fedora linux

ghost commented 5 months ago

im working on arch-cygwin to replace the outdated cross compilers on fedora

ghost commented 5 months ago

llvm is not cross compiled though, for example this repository uses cygport, only tested building on native cygwin. but you can get a cross llvm compiler (with clang and libc++) on archlinux via arch-cygwin