Skip to content

ENT-12600: Document and refactor compile-options #1744

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

larsewi
Copy link
Contributor

@larsewi larsewi commented Jun 10, 2025

Build Status

@cf-bottom
Copy link

Thank you for submitting a pull request! Maybe @craigcomstock can review this?

@larsewi larsewi requested a review from craigcomstock June 17, 2025 20:34
@larsewi larsewi marked this pull request as ready for review June 17, 2025 20:34
@larsewi larsewi requested a review from olehermanse June 24, 2025 07:30
Comment on lines 122 to 131
# libgcc_s.so is needed before we compile any other dependency
# on some platforms!
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# libgcc_s.so is needed before we compile any other dependency
# on some platforms!
# libgcc_s.so is needed before we compile any other dependencies on some platforms!

Is it specifically libgcc_s.so or is it the gcc command? Curious.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No clue. Preexisting comment ;)

Comment on lines 175 to 190
# Library for managing Extended Attributes (xattrs) on filesystems
var_append DEPS "libattr"

# POSIX Access Control Lists (ACLs) on filesystems
var_append DEPS "libacl"
Copy link
Contributor

Choose a reason for hiding this comment

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

might be interesting to note if (and I think they are) dependencies of apache?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can't see them specified as dependencies when building apache. Looks like apache depends on z, ssl, ldap, apr, apr-util, pcre.

nova-*-debian-*)
ROLE=hub
;;
nova-*-opensuse-*)
Copy link
Contributor

Choose a reason for hiding this comment

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

we don't support hub on opensuse.

@olehermanse olehermanse removed their request for review June 27, 2025 15:00
larsewi added 6 commits July 24, 2025 11:25
We don't really build with something else then lmdb. Hence, we don't
need the option to build with something else.

Signed-off-by: Lars Erik Wik <[email protected]>
Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <[email protected]>
Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <[email protected]>
Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <[email protected]>
This auto detect role code is weird. It tries to detect whether to build
a hub or agent package based on the platform it's being built for. In
many places it even decides to build hub packages for platforms where
it's not supported. I wonder if life will just go on if I remove it.

Signed-off-by: Lars Erik Wik <[email protected]>
@larsewi
Copy link
Contributor Author

larsewi commented Jul 24, 2025

Build with exotics (no tests)
Build Status
^ Solaris failure is unrelated

@larsewi larsewi requested a review from craigcomstock July 24, 2025 09:27
@larsewi larsewi requested a review from olehermanse August 4, 2025 08:55
Comment on lines -95 to -96
# Embedded DB selection
EMBEDDED_DB="lmdb"
Copy link
Member

Choose a reason for hiding this comment

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

I think we want to keep this option.

Copy link
Contributor Author

@larsewi larsewi Aug 4, 2025

Choose a reason for hiding this comment

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

Why? It's not really an option. It's a variable holding a hard coded string. You cannot override it without modifying the script.

It makes it easier to read diffs.

Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <[email protected]>
@larsewi larsewi requested a review from olehermanse August 4, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants