I assumed so, the point was only that you likely don't need all those packages at run-time, either because they are not used when GnuCOBOL is build (like the -dev I've mentioned) or because you don't need them at all for GnuCOBOL (like clang-format) or because they are included in one of the other packages and will be auto-added by apt.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I follow the instructions on the LLVM site and I don't know the packages needed for a successful build.
Maybe you can update the apt-get for the Clang-LLVM and remove those not needed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For real benchmarking on a recent machine you likely want to either extend the data file to contain 200 million records or execute the code 20 times. I'd suggest:
Otherwise it is just too fast to be good for comparison.
When running on GNU/Linux it is commonly better to neither use bash builtin time, nor the time binary, but perf stat -e instructions instead.
@ikonomn: Would you mind creating newer Mint packages? We currently are on 3.2-rc2 and should get the final release next week.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Install GnuCobol 3.1.2 build with gcc 9.3.0
Download the attached files
a) gcc_gnucobol.sh (script for installation)
b) gnucobol_3.1.2-1_amd64.deb
Example:
Install GnuCobol 3.1.2 build with Clang LlVM 10.0.0
Download the attached files
a) clang_gnucobol.sh
b) gnucobol_3.1.2-1_amd64_clang_10.deb
sudo chmod 755 clang_gnucobol.sh
sudo .clang_gnucobol.sh /deb_file_folder/
Example:
~~~
mint@mint:~/Downloads$ sudo chmod 755 clang_gnucobol.sh
mint@mint:~/Downloads$ sudo ./clang_gnucobol.sh /home/mint/Downloads/
That's an interesting approach.
I'm quite sure that the following works:
I guess that for clang many packages depend on another and therefore may be removed, but I don't know.
I've tested both with a live mint 20.04 cinnamon before submitting and worked very well.
I assumed so, the point was only that you likely don't need all those packages at run-time, either because they are not used when GnuCOBOL is build (like the -dev I've mentioned) or because you don't need them at all for GnuCOBOL (like clang-format) or because they are included in one of the other packages and will be auto-added by
apt.I follow the instructions on the LLVM site and I don't know the packages needed for a successful build.
Maybe you can update the apt-get for the Clang-LLVM and remove those not needed.
This is an updated version off the gcc_gnucobol.sh
I have corrected the "essentials" to "essential" at line 47.
Benchmarks .
Last edit: Nikos 2021-05-20
For real benchmarking on a recent machine you likely want to either extend the data file to contain 200 million records or execute the code 20 times. I'd suggest:
and
Otherwise it is just too fast to be good for comparison.
When running on GNU/Linux it is commonly better to neither use bash builtin
time, nor thetimebinary, butperf stat -e instructionsinstead.@ikonomn: Would you mind creating newer Mint packages? We currently are on 3.2-rc2 and should get the final release next week.