Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Fedora Copr #327

Closed
2 of 3 tasks
lzaoral opened this issue Jun 2, 2020 · 2 comments · Fixed by #387
Closed
2 of 3 tasks

Support for Fedora Copr #327

lzaoral opened this issue Jun 2, 2020 · 2 comments · Fixed by #387

Comments

@lzaoral
Copy link
Contributor

lzaoral commented Jun 2, 2020

I have created a testing copr-repository. Feel free to fork the COPR project, but don't forget to change the source git repository and source branch and merge #326 in advance. It can also be configured to behave like a CI, so that it rebuilds the packages with each new commit in given branch. That can be set up in the copr repository settings.

The current build status is following, only systems with LLVM versions supported by dg are listed. I have also tried aarch64 just for curiosity and it seems to work just fine.

System aarch64 x86_64 x86
Fedora 31 OK OK OK
Fedora 32 OK OK OK
Fedora 33 OK OK OK
Fedora Rawhide OK OK OK
Fedora ELN - currently broken in Copr (not caused by dg) - - -
CentOS stream OK OK -
Epel for CentOS 8 OK OK -
Mageia 7 FAIL FAIL FAIL
Mageia Cauldron FAIL FAIL FAIL
openSuse Leap 15.1 FAIL FAIL -
openSuse Leap 15.2 FAIL FAIL -
openSuse Tumbleweed FAIL FAIL FAIL
  • - = not available
  • OK = Tests pass
  • Mageia and openSuse fail with linking errors
  • 32-bit Fedora builds with several warnings, but tests fail.
  • openSuse does not provide llvm-static and dg does not support dynamic linking with LLVM

Update: 29/10/2020

@lzaoral
Copy link
Contributor Author

lzaoral commented Jun 19, 2020

The Mageia linking errors are caused by the --as-needed --no-undefined flags for linker:

As far as I can tell, Suse uses these flags by default for rpm packages as well.

@lzaoral
Copy link
Contributor Author

lzaoral commented Oct 29, 2020

It seems that only --no-undefined is the culprit as Fedora uses --as-needed by default in rpm builds and everything is fine.

lzaoral added a commit to lzaoral/dg that referenced this issue Apr 9, 2021
* Add docs to the package
* Do not set CMake buildtype as rpmbuild sets the default set of buildflags
* Fix some rpmlint errors and warnings
* Fix compatibility with openSUSE and Mageia

Closes: mchalupa#327
lzaoral added a commit to lzaoral/dg that referenced this issue Apr 9, 2021
* Add docs to the package
* Do not set CMake buildtype as rpmbuild sets the default set of buildflags
* Fix some rpmlint errors and warnings
* Fix compatibility with openSUSE and Mageia

Closes: mchalupa#327
lzaoral added a commit to lzaoral/dg that referenced this issue Apr 9, 2021
* Add docs to the package
* Do not set CMake buildtype as rpmbuild sets the default set of buildflags
* Fix some rpmlint errors and warnings
* Fix compatibility with openSUSE and Mageia

Closes: mchalupa#327
lzaoral added a commit to lzaoral/dg that referenced this issue Apr 9, 2021
* Add docs to the package
* Do not set CMake buildtype as rpmbuild sets the default set of buildflags
* Fix some rpmlint errors and warnings
* Fix compatibility with openSUSE and Mageia

Closes: mchalupa#327
lzaoral added a commit to lzaoral/dg that referenced this issue Apr 9, 2021
* Add docs to the package
* Do not set CMake buildtype as rpmbuild sets the default set of buildflags
* Fix some rpmlint errors and warnings
* Fix compatibility with openSUSE and Mageia

Closes: mchalupa#327
lzaoral added a commit to lzaoral/dg that referenced this issue Apr 9, 2021
* Add docs to the package
* Do not set CMake buildtype as rpmbuild sets the default set of buildflags
* Fix some rpmlint errors and warnings
* Fix compatibility with openSUSE and Mageia

Closes: mchalupa#327
mchalupa pushed a commit that referenced this issue Apr 13, 2021
* Add docs to the package
* Do not set CMake buildtype as rpmbuild sets the default set of buildflags
* Fix some rpmlint errors and warnings
* Fix compatibility with openSUSE and Mageia

Closes: #327
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant