Skip to content

Parallel building: branch 2.9#2602

Closed
The-going wants to merge 5 commits intoLinuxCNC:2.9from
The-going:2.9
Closed

Parallel building: branch 2.9#2602
The-going wants to merge 5 commits intoLinuxCNC:2.9from
The-going:2.9

Conversation

@The-going
Copy link
Copy Markdown
Contributor

@The-going The-going commented Jul 29, 2023

Description

Add parallel assembly relying on the correct operation of automatic dh commands.

  • export all necessary variables and pass path to src dir
  • fix override_dh_auto_clean
  • PYTHON: Export a variable explicitly to access it
  • dh_auto_build: Provide the possibility of automatic operation

close #2579

duplicates for the master #2599

… dir

After these changes, the dh_auto_XX commands will receive all
the necessary variables and parameters and pass the applicable
variables\parameters to the dh_XX commands. All dh commands
will be run in the src directory if they are not overridden.

That is, we need to write the override like this:
override_dh_auto_build-arch:
	dh_auto_build -- build-software

NOT so:
override_dh_auto_build-arch:
	dh_build -- build-software
The src/Makefile file has a check of variables at the very
beginning and exits by mistake if they are not initialized.
That is, if there is no src/Makefile.inc file, then the project
configuration was not performed and any other goals were not
fulfilled. It is not possible to complete any goal before
the initial configuration.
This check ensures that the source code is clean and there
is no need to clean it.
If the variable is not explicitly exported or passed
to the configuration command, then it will be initialized
by the configure script as:
PYTHON=/usr/bin/python3.11 on bookworm
PYTHON=/usr/bin/python3.10 on jammi
Reverse this commit if the path to the library is needed
as architecture-dependent.

--libdir=\${prefix}/lib/${DEB_HOST_MULTIARCH}
As:
--libdir=\${prefix}/lib/x86_64-linux-gnu
--libdir=\${prefix}/lib/aarch64-linux-gnu
@The-going The-going closed this Jul 30, 2023
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 this pull request may close these issues.

1 participant