eddelbuettel / bh

R package providing Boost Header files
85 stars 33 forks source link

include icl headers #27

Closed jayhesselberth closed 8 years ago

jayhesselberth commented 8 years ago

This PR incorporates boost headers for the ICL (Interval Container Library).

I used the CreateBoost.sh script to incorporate the new headers, and below is a diff of that script.

index cd682d0..f4f2252 100755
--- a/local/scripts/CreateBoost.sh
+++ b/local/scripts/CreateBoost.sh
@@ -13,7 +13,7 @@ pkgdir="${HOME}/git/bh"
 boosttargz="boost_1_60_0.tar.gz"
 ## -- current package version and date (and other metadata as needed)
 version="1.60.0-0"
-date="2016-2-20"
+date="2016-5-4"

@@ -121,7 +121,7 @@ bcp --boost=${boostroot}  ${boostlibs}  ${pkgincl}   > /dev/null  2>&1
 # Plus phoenix (cf [github] issue ticket #19)
 boostextras="filesystem spirit foreach algorithm iostreams \
             dynamic_bitset heap any circular_buffer geometry fusion graph \
-            multiprcecision phoenix bimap"
+            multiprcecision phoenix bimap icl"

 bcp --boost=${boostroot}  ${boostextras}   ${pkgincl}   > /dev/null   2>&1

For reference, this is a "middleweight" addition to the package:

$ du -h /usr/local/include/boost/icl/
232K    /usr/local/include/boost/icl/concept
144K    /usr/local/include/boost/icl/detail
16K /usr/local/include/boost/icl/predicates
208K    /usr/local/include/boost/icl/type_traits
892K    /usr/local/include/boost/icl/
eddelbuettel commented 8 years ago

Thanks a lot. And sorry for the massive repo size. I mistakenly commit the boost sources a few times earlier in the project -- bad idea.

What you did with the diff is the right idea. I'll see about merging and then possibly catching up to one or two more change requests that were pending.

eddelbuettel commented 8 years ago

(And bcp may make it more middleweight than the df -h over its own directory. Then again it may pull in other depends but as we converge towards more and more Boost than side is less likely....)