Skip to content

New package: harec-0.26.0#60451

Open
kurth4cker wants to merge 2 commits intovoid-linux:masterfrom
kurth4cker:harec
Open

New package: harec-0.26.0#60451
kurth4cker wants to merge 2 commits intovoid-linux:masterfrom
kurth4cker:harec

Conversation

@kurth4cker
Copy link
Copy Markdown

@kurth4cker kurth4cker commented May 9, 2026

Testing the changes

  • I tested the changes in this PR: YES

New package

  • This new package conforms to the package requirements: YES
  • Not required system-wide, can be installed as a user.
  • Compiled, compiler for Hare. A systems programming language.
  • Required for full hare programming language support. This is only compiler and standard library will be in another package named hare.

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)
    Note: Since harec is written in portable C99, it should work on most of the architecture. But compiler itself only supports x86_64, aarch64 and riscv64. So it will work on armv7 but only compile programs for these three.

@kurth4cker
Copy link
Copy Markdown
Author

This package and followup package named hare requires qbe which is orphan. If it is ok, I'm willing to adopt it.

@tranzystorekk tranzystorekk added the new-package This PR adds a new package label May 9, 2026
Comment thread srcpkgs/hare/template Outdated
Comment thread srcpkgs/hare/files/config.mk Outdated
Comment thread srcpkgs/harec/template Outdated
Comment thread srcpkgs/hare/template Outdated
@Duncaen
Copy link
Copy Markdown
Member

Duncaen commented May 9, 2026

Sorry accidentally clicked a wrong button and github applied something I wanted to add as a suggestion.

@kurth4cker
Copy link
Copy Markdown
Author

If you are talking about do_check() -> pre_check() migration, I did it.

Comment thread srcpkgs/hare/template
Comment thread srcpkgs/hare/template Outdated
Comment thread srcpkgs/hare/template Outdated
@kurth4cker kurth4cker requested a review from Duncaen May 9, 2026 18:58
Copy link
Copy Markdown
Member

@Duncaen Duncaen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash the commits.

Comment thread srcpkgs/hare/template Outdated
@kurth4cker
Copy link
Copy Markdown
Author

Ok, now I need to not rewrite $CFLAGS.

@kurth4cker
Copy link
Copy Markdown
Author

Now only cross compiling problem left.

@kurth4cker
Copy link
Copy Markdown
Author

kurth4cker commented May 9, 2026

Sorry, I couldn't figure out how to cross compile hare. I disabled cross compilation for now. I will try to do it tomorrow.

@Duncaen
Copy link
Copy Markdown
Member

Duncaen commented May 9, 2026

Sorry, I couldn't figure out how to cross compile hare. I disabled cross compilation for now. I will try to do it tomorrow.

Keep it enabled so we can see the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package This PR adds a new package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants