see http://cookerspot.tuxfamily.org/wikka.php?wakka=CompileBrlcad for previous compilation of brlcad
Compiling BRL-CAD for Mageia
http://brlcad.org/http://brlcad.org/gallery some screenshots and examples of images
https://sourceforge.net/projects/brlcad/ brief overview
latest version as of 2018-02-05 is 7.26.4 (2017-10-15) available at https://sourceforge.net/projects/brlcad/files/BRL-CAD%20for%20Linux/
http://brlcad.org/wiki/Building_from_SVN current revision 70666
svn checkout https://svn.code.sf.net/p/brlcad/code/brlcad/trunk brlcad
dependances to compile on Mageia :
- cmake
- check pre-requisites (apparently not needed) : urpmi lib64xi6-static-devel lib64xext6-static-devel lib64x11_6-static-devel lib64xau6-static-devel lib64xdmcp6-static-devel
mkdir brlcad-build cd brlcad-build cmake ../brlcad # takes 1 min 23 sec o_O quite fast make # actual build 16h52 ETA +25 min hence 17h17 80% at 17h32... 90% at 17h36 95% at 17h40 make test # should report successful, Total Test time (real) = 182.33 sec make benchmark # to test benchmark, may be better using option for cmake -DBRLCAD_FLAGS_OPTIMIZATION=ON
I'm compiling on my Asus Zenbook UX305 with 8 GB RAM & a CPU model name: Intel(R) Processor 5Y10 CPU @ 0.80GHz
Minimum run time is 3 minutes, 12 seconds
Maximum run time is 30 minutes
Estimated time is 9 minutes, 36 seconds
Benchmark
make benchmark result:Summary: Abs zenbaud.localdomain 682050.98 289483.49 277842.16 212684.39 269664.68 335058.58 344464.04 mer. févr. 7 02:19:22 CET 2018 *vgr zenbaud.localdomain 4978.11 4316.78 4955.27 3985.83 3814.75 22.60 3678.89 #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*# Benchmark results indicate an approximate VGR performance metric of 3679 Logarithmic VGR metric is 3.57 (natural logarithm is 8.21) #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*# These numbers seem to indicate that this machine is approximately 3679 times faster than the reference machine being used for comparison, a VAX 11/780 running 4.3 BSD named VGR. These results are in fact approximately 3.57 orders of magnitude faster than the reference. Here are some other approximated VGR results for perspective: 120 on a 200MHz R5000 running IRIX 6.5 250 on a 500 MHz Pentium III running RedHat 7.1 550 on a dual 450 MHz UltraSPARC II running SunOS 5.8 1000 on a dual 500 MHz G4 PowerPC running Mac OS X 10.2 1500 on a dual 1.66 GHz Athlon MP 2000+ running RedHat 7.3 52000 on a 4x4 CPU 2.93 GHz Xeon running RHEL Server 5.4 65000 on a 512 CPU 400 MHz R12000 Running IRIX 6.5
After cmake cmake ../brlcad -DBRLCAD_FLAGS_OPTIMIZATION=ON
not that much better:
Summary: Abs zenbaud.localdomain 696403.06 277049.92 280258.21 219776.87 270115.38 346940.97 348424.06 mer. févr. 7 02:54:22 CET 2018 *vgr zenbaud.localdomain 5082.86 4131.37 4998.36 4118.75 3821.12 23.40 3695.97 #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*# Benchmark results indicate an approximate VGR performance metric of 3696 Logarithmic VGR metric is 3.57 (natural logarithm is 8.22) #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*# These numbers seem to indicate that this machine is approximately 3696 times faster than the reference machine being used for comparison, a VAX 11/780 running 4.3 BSD named VGR. These results are in fact approximately 3.57 orders of magnitude faster than the reference.