Hello,
We made use of the below command for starting parallel build
process with an intent to solve the "Waiting for unfinished jobs" issue.
make --output-sync=recurse -j $parallel_process -f
* We used --output-sync=recurse to synchronize the parallel tasks.
* -j $parallel_process( where parallel_process=$NUMBER_OF_PROCESSORS-1)
it automatically detects the cores in the system.
But still we face the issue, Can you suggest a solution for the problem?
Are the options we are using the right ones or are there any other alternatives.
Best regards
S Ganesh Ramya
RBEI/ETC5
Tel. +91 422 667-5704
From: Brian Cowan [mailto:[email protected]]
Sent: Friday, June 09, 2017 7:14 PM
To: Ramya S Ganesh (RBEI/ETC5) <[email protected]>; [email protected]
Cc: Arunkumar Perumal (RBEI/ETC5) <[email protected]>
Subject: Re: Compilation with multiple jobs fails
It looks like your GUI covered up the actual error in the line above the "Error
code 1."
The "Waiting for unfinished jobs" is just telling you that other parallel tasks
are still executing.
=============================================================
Brian Cowan
ClearCase/Licensing Software Advisory Team (SWAT)
HCL Technologies at IBM
IBM Cloud Support
550 King St
Littleton MA 01460
Phone: +1 978 899 5436
From: "Ramya S Ganesh (RBEI/ETC5)"
<[email protected]<mailto:[email protected]>>
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Cc: "Arunkumar Perumal \(RBEI/ETC5\)"
<[email protected]<mailto:[email protected]>>
Date: 06/09/2017 01:10 AM
Subject: Compilation with multiple jobs fails
Sent by: "Help-make"
<[email protected]<mailto:[email protected]>>
________________________________
Hello,
We have a build tool that uses make scripts with GHS compiler. I had
attached the GUI of the tool.
[cid:[email protected]]
Kindly find below the steps in the build process of our tool.
1) Basic file configurations like setting paths and updation of batch
folder.
2) Deletion of all the object files generated in previous build.
3) Creation of source files(.c) for measurement variables and constants
in the project.
4) Conversion of all the compiler and linker flags from the project
folder into.ccf,.lcf in the workspace.
5) Creation of a .c file with user, project, time of build details.
6) Compilation of .c files in the project, along with the c files
generated in step 2 and 4 by making use of compiler and linker flags in step3
and finally generation of library files.
7) Linking all library files to generate .hex, .mot and .elf files.
8) Creation of .a2l files for the measurement variables and constants
in the project.
9) Merging all the .a2l files.
10) Creation of delivery software.
11) Container generation.
We made use of parallelism along with synchronization for starting the build
process and got the error message I had attached .
[cid:[email protected]]
Kindly find below the command used for parallel build process.
make --output-sync=recurse -j $parallel_process -f
Just for information - the error message occurred on different PCs not always,
but with high probability.
Could you please have a look into it a suggest a reason for the problem.
Thank you,
Best regards
S Ganesh Ramya
RBEI/ETC5
Tel. +91 422 667-5704
[attachment "image003.png" deleted by Brian Cowan/US/HCL/IDE] [attachment
"image004.png" deleted by Brian Cowan/US/HCL/IDE]
_______________________________________________
Help-make mailing list
[email protected]<mailto:[email protected]>
https://lists.gnu.org/mailman/listinfo/help-make
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make