Download mosesdecoder/util/Jamfile from sleepyhead111/vllm_fairseq: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/util/Jamfile
- Command line
-
hf download hf://sleepyhead111/vllm_fairseq/mosesdecoder/util/Jamfile
-
curl -L -o Jamfile https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/util/Jamfile
1.77 kB
| local compressed_flags = <include>.. <define>HAVE_ZLIB ; | |
| local compressed_deps = /top//z ; | |
| if [ test_library "bz2" ] && [ test_header "bzlib.h" ] { | |
| external-lib bz2 ; | |
| compressed_flags += <define>HAVE_BZLIB ; | |
| compressed_deps += bz2 ; | |
| } | |
| if [ test_library "lzma" ] && [ test_header "lzma.h" ] { | |
| external-lib lzma ; | |
| compressed_flags += <define>HAVE_XZLIB ; | |
| compressed_deps += lzma ; | |
| } | |
| lib rt ; | |
| obj read_compressed.o : read_compressed.cc : $(compressed_flags) ; | |
| alias read_compressed : read_compressed.o $(compressed_deps) ; | |
| obj read_compressed_test.o : read_compressed_test.cc /top//boost_unit_test_framework : $(compressed_flags) ; | |
| obj file_piece_test.o : file_piece_test.cc /top//boost_unit_test_framework : $(compressed_flags) ; | |
| fakelib parallel_read : parallel_read.cc : <threading>multi:<source>/top//boost_thread <threading>multi:<define>WITH_THREADS : : <include>.. ; | |
| fakelib kenutil : [ glob *.cc : parallel_read.cc read_compressed.cc *_main.cc *_test.cc ] read_compressed parallel_read double-conversion//double-conversion : <include>.. <os>LINUX,<threading>single:<source>rt : : <include>.. ; | |
| exe cat_compressed : cat_compressed_main.cc kenutil ; | |
| exe probing_hash_table_benchmark : probing_hash_table_benchmark_main.cc kenutil ; | |
| alias programs : cat_compressed ; | |
| import testing ; | |
| run file_piece_test.o kenutil /top//boost_unit_test_framework : : file_piece.cc ; | |
| for local t in [ glob *_test.cc : file_piece_test.cc read_compressed_test.cc ] { | |
| local name = [ MATCH "(.*)\.cc" : $(t) ] ; | |
| unit-test $(name) : $(t) kenutil /top//boost_unit_test_framework /top//boost_filesystem /top//boost_system ; | |
| } | |
| build-project stream ; | |