Index: head/misc/Makefile =================================================================== --- head/misc/Makefile (revision 520143) +++ head/misc/Makefile (revision 520144) @@ -1,547 +1,548 @@ # $FreeBSD$ # COMMENT = Miscellaneous utilities SUBDIR += R-cran-mime SUBDIR += R-cran-xfun SUBDIR += achievo SUBDIR += aclgen SUBDIR += actiona SUBDIR += adios2 SUBDIR += amanda-client SUBDIR += amanda-perl-wrapper SUBDIR += amanda-server SUBDIR += ansiweather SUBDIR += apparix SUBDIR += artikulate SUBDIR += asbutton SUBDIR += asr-manpages SUBDIR += auto-multiple-choice SUBDIR += bb SUBDIR += bbjd SUBDIR += bdelta SUBDIR += bestfit SUBDIR += bibletime SUBDIR += biblical-curse SUBDIR += binclock SUBDIR += biosfont-demos SUBDIR += birthday SUBDIR += bogosort SUBDIR += bottlerocket SUBDIR += box2d SUBDIR += boxes SUBDIR += brs SUBDIR += bsod SUBDIR += buffer SUBDIR += cave SUBDIR += cdcollect SUBDIR += cheat SUBDIR += chef SUBDIR += chmlib SUBDIR += cinnamon-translations SUBDIR += cldr-emoji-annotation SUBDIR += clex SUBDIR += cloc SUBDIR += clpbar SUBDIR += cmatrix SUBDIR += colortail SUBDIR += colwide SUBDIR += compat10x SUBDIR += compat11x SUBDIR += compat4x SUBDIR += compat5x SUBDIR += compat6x SUBDIR += compat7x SUBDIR += compat8x SUBDIR += compat9x SUBDIR += countrycodes SUBDIR += cpuid SUBDIR += crosti SUBDIR += cryptoballot SUBDIR += cs SUBDIR += cstream SUBDIR += ctm SUBDIR += dahdi SUBDIR += dahdi-kmod SUBDIR += dahdi-kmod26 SUBDIR += dartsim SUBDIR += ddate SUBDIR += deco SUBDIR += dejagnu SUBDIR += delay SUBDIR += diction SUBDIR += digitemp SUBDIR += display SUBDIR += dive SUBDIR += dnetc SUBDIR += dtach SUBDIR += dvorak7min SUBDIR += e2fsprogs-libblkid SUBDIR += e2fsprogs-libuuid SUBDIR += elixir-mime SUBDIR += elixir-uuid SUBDIR += elki SUBDIR += elscreen SUBDIR += erlang-mimerl SUBDIR += erlang-mimetypes SUBDIR += esniper SUBDIR += estic SUBDIR += excel-writer SUBDIR += exercism SUBDIR += explosions SUBDIR += fbless SUBDIR += felis SUBDIR += figlet SUBDIR += figlet-fonts SUBDIR += findutils SUBDIR += firestring SUBDIR += flag SUBDIR += floatator SUBDIR += fortune-mod-bible SUBDIR += fortune-mod-bofh SUBDIR += fortune-mod-epictetus SUBDIR += fortune-mod-freebsd-classic SUBDIR += fortune-mod-futurama SUBDIR += fortune-mod-psalms SUBDIR += fortuneit SUBDIR += fpc-chm SUBDIR += free42 SUBDIR += free42-skins SUBDIR += freebsd-doc-all SUBDIR += freebsd-doc-bn SUBDIR += freebsd-doc-da SUBDIR += freebsd-doc-de SUBDIR += freebsd-doc-el SUBDIR += freebsd-doc-en SUBDIR += freebsd-doc-es SUBDIR += freebsd-doc-fr SUBDIR += freebsd-doc-hu SUBDIR += freebsd-doc-it SUBDIR += freebsd-doc-ja SUBDIR += freebsd-doc-ko SUBDIR += freebsd-doc-mn SUBDIR += freebsd-doc-nl SUBDIR += freebsd-doc-pl SUBDIR += freebsd-doc-pt SUBDIR += freebsd-doc-ru SUBDIR += freebsd-doc-tr SUBDIR += freebsd-doc-zh_cn SUBDIR += freebsd-doc-zh_tw SUBDIR += freebsd-release-manifests SUBDIR += freeguide SUBDIR += ftdi-eeprom SUBDIR += fxload SUBDIR += gcstar SUBDIR += geekcode SUBDIR += getopt SUBDIR += gimp-help-ca SUBDIR += gimp-help-da SUBDIR += gimp-help-el SUBDIR += gimp-help-en SUBDIR += gimp-help-en_GB SUBDIR += gimp-help-es SUBDIR += gimp-help-it SUBDIR += gimp-help-nl SUBDIR += gimp-help-nn SUBDIR += gimp-help-sl SUBDIR += gimp-help-sv SUBDIR += gkrellm-gamma SUBDIR += gkrellm-xkb SUBDIR += gkrellmbgchg2 SUBDIR += gkrellmlaunch2 SUBDIR += gkrellshoot2 SUBDIR += gkx86info2 SUBDIR += gnome-devel-docs SUBDIR += gnome-getting-started-docs SUBDIR += gnome-icon-theme SUBDIR += gnome-icon-theme-extras SUBDIR += gnome-mime-data SUBDIR += gnome-osd SUBDIR += gnome-user-docs SUBDIR += gnu-watch SUBDIR += gnuls SUBDIR += gobuster SUBDIR += gone SUBDIR += gonvert SUBDIR += gplink SUBDIR += gpsim SUBDIR += granulate SUBDIR += grc SUBDIR += gwhich SUBDIR += hashdb SUBDIR += hb SUBDIR += hello SUBDIR += help2man SUBDIR += heyu2 SUBDIR += hicolor-icon-theme SUBDIR += histring SUBDIR += hotkeys SUBDIR += hulgalugha SUBDIR += ignition-fuel-tools SUBDIR += iio-oscilloscope SUBDIR += imerge SUBDIR += img2xterm SUBDIR += ini_file_manager SUBDIR += inplace SUBDIR += ipa_conv SUBDIR += ipbt SUBDIR += ironscanner SUBDIR += iselect SUBDIR += iso-codes SUBDIR += jargon SUBDIR += jbidwatcher SUBDIR += kbdscan SUBDIR += kcd SUBDIR += kde-thumbnailer-chm SUBDIR += kde-thumbnailer-epub SUBDIR += kde-thumbnailer-fb2 SUBDIR += kdeedu SUBDIR += kdeedu-data SUBDIR += kdeutils SUBDIR += kenny SUBDIR += kf5-purpose SUBDIR += kgeography SUBDIR += klettres SUBDIR += kookbook SUBDIR += ktouch SUBDIR += kwordquiz SUBDIR += lastools SUBDIR += latex-mk SUBDIR += lazyread SUBDIR += lc SUBDIR += lesspipe SUBDIR += lf SUBDIR += libad9361-iio SUBDIR += libeatmydata SUBDIR += libemos SUBDIR += libiio SUBDIR += libisocodes SUBDIR += libkeduvocdocument SUBDIR += liblxi SUBDIR += libmetalink SUBDIR += libpostal SUBDIR += libpredict SUBDIR += libpri SUBDIR += libsupertone SUBDIR += libsweep-lidar SUBDIR += libutf SUBDIR += lifelines SUBDIR += lingoteach SUBDIR += locale-en_DK SUBDIR += localedata SUBDIR += logsurfer SUBDIR += loop SUBDIR += lv SUBDIR += lxde-common SUBDIR += lxi-tools SUBDIR += magicpoint SUBDIR += man.el SUBDIR += mate-user-guide SUBDIR += mbuffer SUBDIR += mc SUBDIR += mc-nox11 SUBDIR += mdp SUBDIR += metalink-checker SUBDIR += metalink-editor SUBDIR += metalink-tools SUBDIR += metromap SUBDIR += mime-support SUBDIR += mirmon SUBDIR += mmdnn SUBDIR += mmv SUBDIR += molequeue SUBDIR += morse SUBDIR += mtail SUBDIR += mtx SUBDIR += najitool SUBDIR += netron SUBDIR += nms SUBDIR += nnn SUBDIR += nsf SUBDIR += numchar SUBDIR += nut SUBDIR += ompl SUBDIR += ondir SUBDIR += onnx SUBDIR += opencyc SUBDIR += openhab2 SUBDIR += openhab2-addons SUBDIR += openhantek SUBDIR += openhmd SUBDIR += openmvg SUBDIR += opennn SUBDIR += openr2 SUBDIR += openvdb SUBDIR += orange3 SUBDIR += orion SUBDIR += orville-write SUBDIR += osinfo-db SUBDIR += ossp-uuid SUBDIR += otter SUBDIR += owrep SUBDIR += p5-Acme-ButFirst SUBDIR += p5-Array-Compare SUBDIR += p5-Array-Diff SUBDIR += p5-Array-FileReader SUBDIR += p5-Array-IntSpan SUBDIR += p5-Array-LineReader SUBDIR += p5-Array-PrintCols SUBDIR += p5-Array-RefElem SUBDIR += p5-Array-Utils SUBDIR += p5-Asterisk-FastAGI SUBDIR += p5-Bot-Training SUBDIR += p5-Bot-Training-MegaHAL SUBDIR += p5-Bot-Training-StarCraft SUBDIR += p5-Business-EDI SUBDIR += p5-Business-Hours SUBDIR += p5-Business-ISBN SUBDIR += p5-Business-ISBN-Data SUBDIR += p5-Business-ISIN SUBDIR += p5-Business-ISMN SUBDIR += p5-Business-ISSN SUBDIR += p5-Business-UPS SUBDIR += p5-Chatbot-Eliza SUBDIR += p5-Data-Buffer SUBDIR += p5-File-CounterFile SUBDIR += p5-File-Sort SUBDIR += p5-Geo-Address-Formatter SUBDIR += p5-Geo-Cache SUBDIR += p5-Geo-Coder-Bing SUBDIR += p5-Geo-Coder-Google SUBDIR += p5-Geo-Coder-Googlev3 SUBDIR += p5-Geo-Coder-Mapquest SUBDIR += p5-Geo-Coder-Multimap SUBDIR += p5-Geo-Coder-Multiple SUBDIR += p5-Geo-Coder-Navteq SUBDIR += p5-Geo-Coder-OSM SUBDIR += p5-Geo-Coder-OpenCage SUBDIR += p5-Geo-Coder-Ovi SUBDIR += p5-Geo-Coder-PlaceFinder SUBDIR += p5-Geo-Coder-TomTom SUBDIR += p5-Geo-GeoNames SUBDIR += p5-Geo-Postcodes SUBDIR += p5-Geo-Postcodes-DK SUBDIR += p5-Geo-Postcodes-NO SUBDIR += p5-Geo-Weather SUBDIR += p5-Geography-Countries SUBDIR += p5-I18N-Charset SUBDIR += p5-I18N-LangTags SUBDIR += p5-LEGO-RCX SUBDIR += p5-List-Compare SUBDIR += p5-List-Util-WeightedRoundRobin SUBDIR += p5-Locale-Codes SUBDIR += p5-Locale-Geocode SUBDIR += p5-Locale-Msgcat SUBDIR += p5-Locale-SubCountry SUBDIR += p5-Locale-US SUBDIR += p5-Net-vCard SUBDIR += p5-Norge SUBDIR += p5-OSSP-uuid SUBDIR += p5-Software-License SUBDIR += p5-Software-License-CCpack SUBDIR += p5-Test-Dir SUBDIR += p5-Text-FIGlet SUBDIR += p5-Tie-DxHash SUBDIR += p5-Zen-Koans SUBDIR += p5-asterisk-perl SUBDIR += pantry SUBDIR += parley SUBDIR += pastebinit SUBDIR += patchutils SUBDIR += pauker SUBDIR += pciids SUBDIR += pdmenu SUBDIR += pear-Services_Weather SUBDIR += pear-Text_Figlet SUBDIR += pecl-timezonedb SUBDIR += perkeep SUBDIR += pfm SUBDIR += php71-calendar SUBDIR += php72-calendar SUBDIR += php73-calendar SUBDIR += php74-calendar SUBDIR += phraze SUBDIR += pinfo SUBDIR += pipe SUBDIR += pnpids SUBDIR += podsleuth SUBDIR += posixtestsuite SUBDIR += proxyper SUBDIR += pspresent SUBDIR += ptsort SUBDIR += pubs SUBDIR += py-PyUserInput SUBDIR += py-QSpectrumAnalyzer SUBDIR += py-SimpleSoapy SUBDIR += py-SoapySDR SUBDIR += py-YABT SUBDIR += py-cinder SUBDIR += py-colorbrewer SUBDIR += py-colored SUBDIR += py-crudini SUBDIR += py-eemeter SUBDIR += py-emoji SUBDIR += py-fast-histogram SUBDIR += py-fuzzy SUBDIR += py-glance SUBDIR += py-huepy SUBDIR += py-kartograph SUBDIR += py-molequeue SUBDIR += py-onnx-tf SUBDIR += py-orange3-associate SUBDIR += py-orange3-datafusion SUBDIR += py-orange3-educational SUBDIR += py-orange3-network SUBDIR += py-orange3-timeseries SUBDIR += py-osd SUBDIR += py-palettable SUBDIR += py-pexpect SUBDIR += py-powerline-status SUBDIR += py-progressbar SUBDIR += py-progressbar2 SUBDIR += py-progressbar231 SUBDIR += py-pyfiglet SUBDIR += py-pykml SUBDIR += py-pyprind SUBDIR += py-python-geohash SUBDIR += py-python-utils SUBDIR += py-qt5-demo SUBDIR += py-scikit-fusion SUBDIR += py-serverfiles SUBDIR += py-soapy_power SUBDIR += py-socli SUBDIR += py-spdx SUBDIR += py-spdx-lookup SUBDIR += py-spdx-tools SUBDIR += py-tflearn SUBDIR += py-tflite SUBDIR += py-toil SUBDIR += py-tqdm SUBDIR += py-tvm SUBDIR += py-yolk SUBDIR += pylize SUBDIR += pyobd SUBDIR += qbrew SUBDIR += qlas SUBDIR += qt5-doc SUBDIR += qt5-examples SUBDIR += qt5-l10n SUBDIR += qt5ct SUBDIR += qtchooser SUBDIR += raspberrypi-gpioshutdown SUBDIR += raspberrypi-userland SUBDIR += raspbsd-led SUBDIR += ree SUBDIR += rfc SUBDIR += ringtonetools SUBDIR += rname SUBDIR += rpl SUBDIR += rtfm SUBDIR += rubygem-dotenv SUBDIR += rubygem-dotenv-rails-rails4 SUBDIR += rubygem-dotenv-rails-rails5 SUBDIR += rubygem-dotenv-rails-rails50 SUBDIR += rubygem-haversine_distance SUBDIR += rubygem-iesd SUBDIR += rubygem-mime-types SUBDIR += rubygem-mime-types-data SUBDIR += rubygem-mime-types1 SUBDIR += rubygem-mimemagic SUBDIR += rubygem-rabbit SUBDIR += rubygem-vpim SUBDIR += rump SUBDIR += sdformat SUBDIR += seabios SUBDIR += sent SUBDIR += seq2 SUBDIR += shared-mime-info SUBDIR += shc SUBDIR += shuffle SUBDIR += shuffle-db SUBDIR += since SUBDIR += skyutils SUBDIR += sloccount SUBDIR += sls SUBDIR += smssend SUBDIR += snakemake SUBDIR += soapysdr SUBDIR += soapysdr-rtlsdr SUBDIR += solarized SUBDIR += spamcalc SUBDIR += sshbuddy SUBDIR += sssnips SUBDIR += susv2 SUBDIR += susv3 SUBDIR += susv4 SUBDIR += sword SUBDIR += table.el SUBDIR += talkfilters SUBDIR += tdfiglet SUBDIR += team SUBDIR += tellico SUBDIR += tempcontrol SUBDIR += termatrix SUBDIR += teseq SUBDIR += thefuck SUBDIR += tkcron SUBDIR += tkinfo SUBDIR += tkregexp SUBDIR += tkrunit SUBDIR += toilet SUBDIR += translate SUBDIR += ttyrec SUBDIR += tudu SUBDIR += tvbrowser SUBDIR += tvm SUBDIR += typetrainer SUBDIR += tzdiff SUBDIR += uk-phone SUBDIR += uk-postcodes SUBDIR += umodunpack SUBDIR += unclutter SUBDIR += unclutter-xfixes SUBDIR += unicode-emoji SUBDIR += upclient SUBDIR += urbit SUBDIR += urh SUBDIR += us-zipcodes SUBDIR += usbids SUBDIR += usbrh-libusb SUBDIR += utftools SUBDIR += utouch-kmod SUBDIR += valentina SUBDIR += vdmfec SUBDIR += veles SUBDIR += vera SUBDIR += vifm SUBDIR += visp SUBDIR += viz SUBDIR += whichman SUBDIR += window SUBDIR += with SUBDIR += wmScoreBoard SUBDIR += wmcalendar SUBDIR += wmjulia SUBDIR += wmpal SUBDIR += wmtunlo SUBDIR += wmweather+ SUBDIR += wmwork SUBDIR += wotsap SUBDIR += xdelta SUBDIR += xdelta3 SUBDIR += xdg-menu SUBDIR += xfce4-appfinder SUBDIR += xfce4-weather-plugin SUBDIR += xfce4-wm-themes SUBDIR += xgas + SUBDIR += xgboost SUBDIR += xless SUBDIR += xosd SUBDIR += xtail SUBDIR += xtar SUBDIR += xtypo SUBDIR += yaunc SUBDIR += ytree SUBDIR += zoneinfo .include Index: head/misc/xgboost/Makefile =================================================================== --- head/misc/xgboost/Makefile (nonexistent) +++ head/misc/xgboost/Makefile (revision 520144) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= xgboost +DISTVERSIONPREFIX= v +DISTVERSION= 0.90-235 +DISTVERSIONSUFFIX= -gad4a1c73 +CATEGORIES= misc # machine-learning + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT, GBM) + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libdmlc.so:devel/dmlc-core + +USES= cmake compiler:c++11-lang localbase +USE_GITHUB= yes +GH_ACCOUNT= dmlc +GH_TUPLE= dmlc:rabit:2f25347:rabit/rabit \ + NVlabs:cub:b20808b:cub/cub +USE_LDCONFIG= yes + +LDFLAGS+= ${LOCALBASE}/lib/libdmlc.so -lexecinfo + +OPTIONS_DEFINE= OPENMP + +OPENMP_CMAKE_BOOL= USE_OPENMP +OPENMP_LIB_DEPENDS= libomp.so:devel/openmp +OPENMP_BROKEN= error: unsupported argument 'libomp -I/usr/local/include -L/usr/local/lib' to option 'fopenmp=' + +post-patch: # https://github.com/dmlc/rabit/issues/131 + @${FIND} ${WRKSRC} -name "*.h" -o -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -i '' -e 's| _assert(| _xassert(|; s| _assert)| _xassert)|' + +.include Property changes on: head/misc/xgboost/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/xgboost/distinfo =================================================================== --- head/misc/xgboost/distinfo (nonexistent) +++ head/misc/xgboost/distinfo (revision 520144) @@ -0,0 +1,7 @@ +TIMESTAMP = 1576356559 +SHA256 (dmlc-xgboost-v0.90-235-gad4a1c73_GH0.tar.gz) = c5fd4f9c152ba56961a43b677397251f20f78e534571926247f8d24275f9642b +SIZE (dmlc-xgboost-v0.90-235-gad4a1c73_GH0.tar.gz) = 1131611 +SHA256 (dmlc-rabit-2f25347_GH0.tar.gz) = 9a9f9b754d1f8f8f0949faded75859e791cc56c75c38928467649fc227bee7e0 +SIZE (dmlc-rabit-2f25347_GH0.tar.gz) = 90555 +SHA256 (NVlabs-cub-b20808b_GH0.tar.gz) = 5d613bf9c4bd3f60803720b982291c585e5e9cce83a93b5ef576bd3ce6d141e4 +SIZE (NVlabs-cub-b20808b_GH0.tar.gz) = 390976 Property changes on: head/misc/xgboost/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/xgboost/files/patch-CMakeLists.txt =================================================================== --- head/misc/xgboost/files/patch-CMakeLists.txt (nonexistent) +++ head/misc/xgboost/files/patch-CMakeLists.txt (revision 520144) @@ -0,0 +1,26 @@ +--- CMakeLists.txt.orig 2019-12-14 20:50:22 UTC ++++ CMakeLists.txt +@@ -101,16 +101,16 @@ endif (USE_CUDA) + + # dmlc-core + msvc_use_static_runtime() +-add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core) +-set_target_properties(dmlc PROPERTIES +- CXX_STANDARD 11 +- CXX_STANDARD_REQUIRED ON +- POSITION_INDEPENDENT_CODE ON) +-list(APPEND LINKED_LIBRARIES_PRIVATE dmlc) ++#add_subdirectory(${xgboost_SOURCE_DIR}/dmlc-core) ++#set_target_properties(dmlc PROPERTIES ++# CXX_STANDARD 11 ++# CXX_STANDARD_REQUIRED ON ++# POSITION_INDEPENDENT_CODE ON) ++#list(APPEND LINKED_LIBRARIES_PRIVATE dmlc) + + # rabit + set(RABIT_BUILD_DMLC OFF) +-set(DMLC_ROOT ${xgboost_SOURCE_DIR}/dmlc-core) ++set(DMLC_ROOT ${CMAKE_INSTALL_PREFIX}) + set(RABIT_WITH_R_LIB ${R_LIB}) + add_subdirectory(rabit) + Property changes on: head/misc/xgboost/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/xgboost/files/patch-rabit_CMakeLists.txt =================================================================== --- head/misc/xgboost/files/patch-rabit_CMakeLists.txt (nonexistent) +++ head/misc/xgboost/files/patch-rabit_CMakeLists.txt (revision 520144) @@ -0,0 +1,34 @@ +--- rabit/CMakeLists.txt.orig 2019-12-14 20:43:47 UTC ++++ rabit/CMakeLists.txt +@@ -13,7 +13,7 @@ set(DMLC_ROOT ${CMAKE_CURRENT_LIST_DIR}/../dmlc-core) + + # moved from xgboost build + if(R_LIB OR MINGW OR WIN32) +- add_library(rabit src/engine_empty.cc src/c_api.cc) ++ add_library(rabit SHARED src/engine_empty.cc src/c_api.cc) + set(rabit_libs rabit) + set_target_properties(rabit + PROPERTIES CXX_STANDARD 11 +@@ -21,10 +21,10 @@ if(R_LIB OR MINGW OR WIN32) + POSITION_INDEPENDENT_CODE ON) + else() + find_package(Threads REQUIRED) +- add_library(rabit_empty src/engine_empty.cc src/c_api.cc) +- add_library(rabit_base src/allreduce_base.cc src/engine_base.cc src/c_api.cc) ++ add_library(rabit_empty SHARED src/engine_empty.cc src/c_api.cc) ++ add_library(rabit_base SHARED src/allreduce_base.cc src/engine_base.cc src/c_api.cc) + +- add_library(rabit src/allreduce_base.cc src/allreduce_robust.cc src/engine.cc src/c_api.cc) ++ add_library(rabit SHARED src/allreduce_base.cc src/allreduce_robust.cc src/engine.cc src/c_api.cc) + add_library(rabit_mock_static src/allreduce_base.cc src/allreduce_robust.cc src/engine_mock.cc src/c_api.cc) + add_library(rabit_mock SHARED src/allreduce_base.cc src/allreduce_robust.cc src/engine_mock.cc src/c_api.cc) + target_link_libraries(rabit Threads::Threads) +@@ -43,7 +43,7 @@ if(RABIT_BUILD_MPI) + if (NOT MPI_CXX_FOUND) + message(FATAL_ERROR "CXX Interface for MPI is required for building MPI backend.") + endif (NOT MPI_CXX_FOUND) +- add_library(rabit_mpi src/engine_mpi.cc ${MPI_INCLUDE_PATH}) ++ add_library(rabit_mpi SHARED src/engine_mpi.cc ${MPI_INCLUDE_PATH}) + target_link_libraries(rabit_mpi ${MPI_CXX_LIBRARIES}) + list(APPEND rabit_libs rabit_mpi) + endif() Property changes on: head/misc/xgboost/files/patch-rabit_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/xgboost/files/patch-src_common_json.cc =================================================================== --- head/misc/xgboost/files/patch-src_common_json.cc (nonexistent) +++ head/misc/xgboost/files/patch-src_common_json.cc (revision 520144) @@ -0,0 +1,11 @@ +--- src/common/json.cc.orig 2019-12-14 20:32:28 UTC ++++ src/common/json.cc +@@ -630,7 +630,7 @@ Json JsonReader::ParseNumber() { + // multiply zero by inf which gives nan. + if (f != 0.0) { + // Only use exp10 from libc on gcc+linux +-#if !defined(__GNUC__) || defined(_WIN32) || defined(__APPLE__) ++#if !defined(__GNUC__) || defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__) + #define exp10(val) std::pow(10, (val)) + #endif // !defined(__GNUC__) || defined(_WIN32) || defined(__APPLE__) + f *= exp10(exponent); Property changes on: head/misc/xgboost/files/patch-src_common_json.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/xgboost/files/patch-src_common_timer.cc =================================================================== --- head/misc/xgboost/files/patch-src_common_timer.cc (nonexistent) +++ head/misc/xgboost/files/patch-src_common_timer.cc (revision 520144) @@ -0,0 +1,14 @@ +--- src/common/timer.cc.orig 2019-12-14 20:35:26 UTC ++++ src/common/timer.cc +@@ -44,8 +44,9 @@ std::vector Monitor::CollectFromOthe + statistic[kv.first] = Object(); + auto& j_pair = statistic[kv.first]; + j_pair["count"] = Integer(kv.second.count); +- j_pair["elapsed"] = Integer(std::chrono::duration_cast( +- kv.second.timer.elapsed).count()); ++ // https://github.com/dmlc/xgboost/issues/5117 ++ j_pair["elapsed"] = 1; //Integer(std::chrono::duration_cast( ++ //kv.second.timer.elapsed).count()); + } + + std::stringstream ss; Property changes on: head/misc/xgboost/files/patch-src_common_timer.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/xgboost/pkg-descr =================================================================== --- head/misc/xgboost/pkg-descr (nonexistent) +++ head/misc/xgboost/pkg-descr (revision 520144) @@ -0,0 +1,5 @@ +Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) +Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, +Hadoop, Spark, Flink and DataFlow. + +WWW: https://xgboost.ai/ Property changes on: head/misc/xgboost/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/xgboost/pkg-plist =================================================================== --- head/misc/xgboost/pkg-plist (nonexistent) +++ head/misc/xgboost/pkg-plist (revision 520144) @@ -0,0 +1,46 @@ +bin/xgboost +include/rabit/c_api.h +include/rabit/internal/engine.h +include/rabit/internal/io.h +include/rabit/internal/rabit-inl.h +include/rabit/internal/socket.h +include/rabit/internal/thread_local.h +include/rabit/internal/timer.h +include/rabit/internal/utils.h +include/rabit/rabit.h +include/rabit/serializable.h +include/xgboost/base.h +include/xgboost/c_api.h +include/xgboost/data.h +include/xgboost/feature_map.h +include/xgboost/gbm.h +include/xgboost/generic_parameters.h +include/xgboost/host_device_vector.h +include/xgboost/json.h +include/xgboost/json_io.h +include/xgboost/learner.h +include/xgboost/linear_updater.h +include/xgboost/logging.h +include/xgboost/metric.h +include/xgboost/model.h +include/xgboost/objective.h +include/xgboost/parameter.h +include/xgboost/predictor.h +include/xgboost/span.h +include/xgboost/tree_model.h +include/xgboost/tree_updater.h +include/xgboost/version_config.h +lib/cmake/rabit/rabitConfig.cmake +lib/cmake/rabit/rabitConfigVersion.cmake +lib/cmake/rabit/rabitTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/rabit/rabitTargets.cmake +lib/cmake/xgboost/XGBoostTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/xgboost/XGBoostTargets.cmake +lib/cmake/xgboost/xgboost-config-version.cmake +lib/cmake/xgboost/xgboost-config.cmake +lib/librabit.so +lib/librabit_base.so +lib/librabit_empty.so +lib/librabit_mock.so +lib/librabit_mock_static.a +lib/libxgboost.so Property changes on: head/misc/xgboost/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property