1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

new port: math/blis

BLIS is a portable software framework for instantiating high-performance BLAS-like dense linear algebra libraries. The framework was designed to isolate essential kernels of computation that, when optimized, immediately enable optimized implementations of most of its commonly used and computationally intensive operations. BLIS is written in ISO C99 and available under a BSD3CLAUSE. While BLIS exports a new BLAS-like API, it also includes a BLAS compatibility layer which gives application developers access to BLIS implementations via traditional BLAS routine calls. (from their github)

Reviewed by:	swills (mentor)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10811
This commit is contained in:
Johannes M Dieterich 2017-05-20 23:09:23 +00:00
parent 653af43a0e
commit fc4e400f59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441353
5 changed files with 529 additions and 0 deletions

View File

@ -103,6 +103,7 @@
SUBDIR += biggles
SUBDIR += blacs
SUBDIR += blas
SUBDIR += blis
SUBDIR += blitz++
SUBDIR += blocksolve95
SUBDIR += bsdnt

76
math/blis/Makefile Normal file
View File

@ -0,0 +1,76 @@
# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
# $FreeBSD$
PORTNAME= blis
PORTVERSION= 0.2.2
CATEGORIES= math
MAINTAINER= jmd@FreeBSD.org
COMMENT= Software framework for high-performance BLAS-like libraries
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:shells/bash
OPTIONS_DEFINE= PARA CBLAS
PARA_DESC= use pthread parallelization
CBLAS_DESC= build the CBLAS compatibility layer
OPTIONS_RADIO= ARCHITECTURE
OPTIONS_RADIO_ARCHITECTURE= REFERENCE BULLDOZER PILEDRIVER CARRIZO DUNNINGTON SANDYBRIDGE HASWELL
REFERENCE_DESC= reference kernels (slow)
BULLDOZER_DESC= optimized kernels for AMD Bulldozer architecture
PILEDRIVER_DESC= optimized kernels for AMD Piledriver architecture
CARRIZO_DESC= optimized kernels for AMD Carrizo architecture
DUNNINGTON_DESC= optimized kernels for Intel Dunnington architecture
SANDYBRIDGE_DESC= optimized kernels for Intel Sandybridge architecture
HASWELL_DESC= optimized kernels for Intel Haswell architecture
OPTIONS_DEFAULT= PARA CBLAS REFERENCE
OPTIONS_SUB= yes
USE_GITHUB= yes
GH_ACCOUNT= flame
GH_TAGNAME= 6e04f9d
USE_LDCONFIG= yes
USES= gmake
HAS_CONFIGURE= yes
.include <bsd.port.options.mk>
# enable BLAS by default
CONFIGURE_ARGS+= --enable-blas \
--prefix=${LOCALBASE}
#--prefix=PREFIX
.if ${PORT_OPTIONS:MPARA}
CONFIGURE_ARGS+= -t pthreads
.endif
.if ${PORT_OPTIONS:MCBLAS}
CONFIGURE_ARGS+= --enable-cblas
.endif
ARCH= reference
.if ${PORT_OPTIONS:MREFERENCE}
ARCH= reference
.elif ${PORT_OPTIONS:MBULLDOZER}
ARCH= bulldozer
.elif ${PORT_OPTIONS:MPILEDRIVER}
ARCH= piledriver
.elif ${PORT_OPTIONS:MCARRIZO}
ARCH= carrizo
.elif ${PORT_OPTIONS:MDUNNINGTON}
ARCH= dunnington
.elif ${PORT_OPTIONS:MSANDYBRIDGE}
ARCH= sandybridge
.elif ${PORT_OPTIONS:MHASWELL}
ARCH= haswell
.endif
CONFIGURE_ARGS+= ${ARCH}
post-install:
${MV} ${STAGEDIR}/${LOCALBASE}/lib/libblis-${PORTVERSION}-${ARCH}.a ${STAGEDIR}/${LOCALBASE}/lib/libblis.a
.include <bsd.port.mk>

3
math/blis/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1495076060
SHA256 (flame-blis-0.2.2-6e04f9d_GH0.tar.gz) = bb3fe42d1985d0c18908d6d7e2812e2b2841d35274f653881f37190e16b95a75
SIZE (flame-blis-0.2.2-6e04f9d_GH0.tar.gz) = 1298944

9
math/blis/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
software framework for high-performance BLAS-like libraries
BLIS is a portable software framework for instantiating high-performance
BLAS-like dense linear algebra libraries. The framework was designed
to isolate essential kernels of computation that, when optimized,
immediately enable optimized implementations of most of its commonly
used and computationally intensive operations.
WWW: https://github.com/flame/blis

440
math/blis/pkg-plist Normal file
View File

@ -0,0 +1,440 @@
include/blis/bla_amax.h
include/blis/bla_asum.h
include/blis/bla_axpy.h
include/blis/bla_c_abs.h
include/blis/bla_c_div.h
include/blis/bla_cabs1.h
include/blis/bla_copy.h
include/blis/bla_d_abs.h
include/blis/bla_d_cnjg.h
include/blis/bla_d_imag.h
include/blis/bla_d_sign.h
include/blis/bla_dot.h
include/blis/bla_f__cabs.h
include/blis/bla_gbmv.h
include/blis/bla_gemm.h
include/blis/bla_gemm_check.h
include/blis/bla_gemv.h
include/blis/bla_gemv_check.h
include/blis/bla_ger.h
include/blis/bla_ger_check.h
include/blis/bla_hbmv.h
include/blis/bla_hemm.h
include/blis/bla_hemm_check.h
include/blis/bla_hemv.h
include/blis/bla_hemv_check.h
include/blis/bla_her.h
include/blis/bla_her2.h
include/blis/bla_her2_check.h
include/blis/bla_her2k.h
include/blis/bla_her2k_check.h
include/blis/bla_her_check.h
include/blis/bla_herk.h
include/blis/bla_herk_check.h
include/blis/bla_hpmv.h
include/blis/bla_hpr.h
include/blis/bla_hpr2.h
include/blis/bla_lsame.h
include/blis/bla_nrm2.h
include/blis/bla_r_abs.h
include/blis/bla_r_cnjg.h
include/blis/bla_r_imag.h
include/blis/bla_r_sign.h
include/blis/bla_rot.h
include/blis/bla_rotg.h
include/blis/bla_rotm.h
include/blis/bla_rotmg.h
include/blis/bla_sbmv.h
include/blis/bla_scal.h
include/blis/bla_spmv.h
include/blis/bla_spr.h
include/blis/bla_spr2.h
include/blis/bla_swap.h
include/blis/bla_symm.h
include/blis/bla_symm_check.h
include/blis/bla_symv.h
include/blis/bla_symv_check.h
include/blis/bla_syr.h
include/blis/bla_syr2.h
include/blis/bla_syr2_check.h
include/blis/bla_syr2k.h
include/blis/bla_syr2k_check.h
include/blis/bla_syr_check.h
include/blis/bla_syrk.h
include/blis/bla_syrk_check.h
include/blis/bla_tbmv.h
include/blis/bla_tbsv.h
include/blis/bla_tpmv.h
include/blis/bla_tpsv.h
include/blis/bla_trmm.h
include/blis/bla_trmm_check.h
include/blis/bla_trmv.h
include/blis/bla_trmv_check.h
include/blis/bla_trsm.h
include/blis/bla_trsm_check.h
include/blis/bla_trsv.h
include/blis/bla_trsv_check.h
include/blis/bla_xerbla.h
include/blis/bla_z_abs.h
include/blis/bla_z_div.h
include/blis/bli_absq2ris.h
include/blis/bli_absq2s.h
include/blis/bli_abval2ris.h
include/blis/bli_abval2s.h
include/blis/bli_add3ris.h
include/blis/bli_add3s.h
include/blis/bli_addjris.h
include/blis/bli_addjs.h
include/blis/bli_addris.h
include/blis/bli_adds.h
include/blis/bli_adds_mxn.h
include/blis/bli_adds_mxn_uplo.h
include/blis/bli_auxinfo.h
include/blis/bli_axmyris.h
include/blis/bli_axmys.h
include/blis/bli_axpbyjris.h
include/blis/bli_axpbyjs.h
include/blis/bli_axpbyris.h
include/blis/bli_axpbys.h
include/blis/bli_axpyjris.h
include/blis/bli_axpyjs.h
include/blis/bli_axpyris.h
include/blis/bli_axpys.h
include/blis/bli_blas.h
include/blis/bli_blas_macro_defs.h
include/blis/bli_blksz.h
include/blis/bli_cast.h
include/blis/bli_cblas.h
include/blis/bli_check.h
include/blis/bli_clock.h
include/blis/bli_cntl.h
include/blis/bli_cntx.h
include/blis/bli_complex_macro_defs.h
include/blis/bli_config.h
include/blis/bli_config_macro_defs.h
include/blis/bli_conjris.h
include/blis/bli_conjs.h
include/blis/bli_const.h
include/blis/bli_constants.h
include/blis/bli_copy1es.h
include/blis/bli_copy1rs.h
include/blis/bli_copycjris.h
include/blis/bli_copycjs.h
include/blis/bli_copyj1es.h
include/blis/bli_copyj1rs.h
include/blis/bli_copyjri3s.h
include/blis/bli_copyjris.h
include/blis/bli_copyjs.h
include/blis/bli_copyri3s.h
include/blis/bli_copyris.h
include/blis/bli_copys.h
include/blis/bli_copys_mxn.h
include/blis/bli_copysc.h
include/blis/bli_dlamch.h
include/blis/bli_dotjs.h
include/blis/bli_dots.h
include/blis/bli_eq.h
include/blis/bli_eqris.h
include/blis/bli_error.h
include/blis/bli_error_macro_defs.h
include/blis/bli_extern_defs.h
include/blis/bli_f2c.h
include/blis/bli_fprints.h
include/blis/bli_func.h
include/blis/bli_gemm.h
include/blis/bli_gemm_cntl.h
include/blis/bli_gemm_front.h
include/blis/bli_gemm_int.h
include/blis/bli_gemm_var.h
include/blis/bli_gemmind_cntx.h
include/blis/bli_gemmind_ukr_ref.h
include/blis/bli_gemmtrsmind_x_ukr_ref.h
include/blis/bli_gemv.h
include/blis/bli_gemv_var.h
include/blis/bli_genarray_macro_defs.h
include/blis/bli_gentdef_macro_defs.h
include/blis/bli_gentfunc_macro_defs.h
include/blis/bli_gentprot_macro_defs.h
include/blis/bli_ger.h
include/blis/bli_ger_var.h
include/blis/bli_getopt.h
include/blis/bli_gets.h
include/blis/bli_gks.h
include/blis/bli_hemm.h
include/blis/bli_hemm_front.h
include/blis/bli_hemv.h
include/blis/bli_hemv_var.h
include/blis/bli_her.h
include/blis/bli_her2.h
include/blis/bli_her2_var.h
include/blis/bli_her2k.h
include/blis/bli_her2k_front.h
include/blis/bli_her_var.h
include/blis/bli_herk.h
include/blis/bli_herk_front.h
include/blis/bli_herk_var.h
include/blis/bli_ind.h
include/blis/bli_info.h
include/blis/bli_init.h
include/blis/bli_invert1es.h
include/blis/bli_invert1ms_mxn_diag.h
include/blis/bli_invert1rs.h
include/blis/bli_invertris.h
include/blis/bli_inverts.h
include/blis/bli_invscaljris.h
include/blis/bli_invscaljs.h
include/blis/bli_invscalris.h
include/blis/bli_invscals.h
include/blis/bli_kernel.h
include/blis/bli_kernel_1m_macro_defs.h
include/blis/bli_kernel_3m1_macro_defs.h
include/blis/bli_kernel_3m2_macro_defs.h
include/blis/bli_kernel_3m3_macro_defs.h
include/blis/bli_kernel_3mh_macro_defs.h
include/blis/bli_kernel_4m1_macro_defs.h
include/blis/bli_kernel_4mb_macro_defs.h
include/blis/bli_kernel_4mh_macro_defs.h
include/blis/bli_kernel_ind_macro_defs.h
include/blis/bli_kernel_ind_pre_macro_defs.h
include/blis/bli_kernel_macro_defs.h
include/blis/bli_kernel_pre_macro_defs.h
include/blis/bli_kernel_prototypes.h
include/blis/bli_l0.h
include/blis/bli_l0_check.h
include/blis/bli_l0_oapi.h
include/blis/bli_l0_tapi.h
include/blis/bli_l1d.h
include/blis/bli_l1d_check.h
include/blis/bli_l1d_cntx.h
include/blis/bli_l1d_oapi.h
include/blis/bli_l1d_tapi.h
include/blis/bli_l1f.h
include/blis/bli_l1f_check.h
include/blis/bli_l1f_cntx.h
include/blis/bli_l1f_ft.h
include/blis/bli_l1f_ker.h
include/blis/bli_l1f_oapi.h
include/blis/bli_l1f_ref.h
include/blis/bli_l1f_tapi.h
include/blis/bli_l1m.h
include/blis/bli_l1m_check.h
include/blis/bli_l1m_cntx.h
include/blis/bli_l1m_ft.h
include/blis/bli_l1m_ker.h
include/blis/bli_l1m_oapi.h
include/blis/bli_l1m_tapi.h
include/blis/bli_l1m_unb_var1.h
include/blis/bli_l1m_voft.h
include/blis/bli_l1v.h
include/blis/bli_l1v_check.h
include/blis/bli_l1v_cntx.h
include/blis/bli_l1v_ft.h
include/blis/bli_l1v_ker.h
include/blis/bli_l1v_oapi.h
include/blis/bli_l1v_ref.h
include/blis/bli_l1v_tapi.h
include/blis/bli_l2.h
include/blis/bli_l2_check.h
include/blis/bli_l2_cntx.h
include/blis/bli_l2_ft.h
include/blis/bli_l2_oapi.h
include/blis/bli_l2_tapi.h
include/blis/bli_l3.h
include/blis/bli_l3_blocksize.h
include/blis/bli_l3_check.h
include/blis/bli_l3_cntl.h
include/blis/bli_l3_cntx.h
include/blis/bli_l3_direct.h
include/blis/bli_l3_ft.h
include/blis/bli_l3_ind.h
include/blis/bli_l3_ind_oapi.h
include/blis/bli_l3_ind_opt.h
include/blis/bli_l3_ind_tapi.h
include/blis/bli_l3_oapi.h
include/blis/bli_l3_oft.h
include/blis/bli_l3_packm.h
include/blis/bli_l3_prune.h
include/blis/bli_l3_tapi.h
include/blis/bli_l3_thrinfo.h
include/blis/bli_l3_ukr.h
include/blis/bli_l3_ukr_oapi.h
include/blis/bli_l3_ukr_ref.h
include/blis/bli_l3_ukr_tapi.h
include/blis/bli_l3_var_oft.h
include/blis/bli_l3_voft.h
include/blis/bli_lsame.h
include/blis/bli_machval.h
include/blis/bli_macro_defs.h
include/blis/bli_malloc.h
include/blis/bli_mbool.h
include/blis/bli_mem.h
include/blis/bli_membrk.h
include/blis/bli_memsys.h
include/blis/bli_mutex.h
include/blis/bli_mutex_openmp.h
include/blis/bli_mutex_pthreads.h
include/blis/bli_mutex_single.h
include/blis/bli_neg2ris.h
include/blis/bli_neg2s.h
include/blis/bli_oapi_w_cntx.h
include/blis/bli_oapi_wo_cntx.h
include/blis/bli_obj.h
include/blis/bli_obj_check.h
include/blis/bli_obj_macro_defs.h
include/blis/bli_obj_scalar.h
include/blis/bli_opid.h
include/blis/bli_packm.h
include/blis/bli_packm_1er_macro_defs.h
include/blis/bli_packm_3mis_macro_defs.h
include/blis/bli_packm_4mi_macro_defs.h
include/blis/bli_packm_blk_var1.h
include/blis/bli_packm_check.h
include/blis/bli_packm_cntl.h
include/blis/bli_packm_cntx.h
include/blis/bli_packm_cxk.h
include/blis/bli_packm_cxk_1e_ref.h
include/blis/bli_packm_cxk_1er.h
include/blis/bli_packm_cxk_1r_ref.h
include/blis/bli_packm_cxk_3mis.h
include/blis/bli_packm_cxk_3mis_ref.h
include/blis/bli_packm_cxk_4mi.h
include/blis/bli_packm_cxk_4mi_ref.h
include/blis/bli_packm_cxk_ref.h
include/blis/bli_packm_cxk_rih.h
include/blis/bli_packm_cxk_rih_ref.h
include/blis/bli_packm_ind_pre_macro_defs.h
include/blis/bli_packm_init.h
include/blis/bli_packm_int.h
include/blis/bli_packm_part.h
include/blis/bli_packm_rih_macro_defs.h
include/blis/bli_packm_struc_cxk.h
include/blis/bli_packm_struc_cxk_1er.h
include/blis/bli_packm_struc_cxk_3mis.h
include/blis/bli_packm_struc_cxk_4mi.h
include/blis/bli_packm_struc_cxk_rih.h
include/blis/bli_packm_thrinfo.h
include/blis/bli_packm_unb_var1.h
include/blis/bli_param_macro_defs.h
include/blis/bli_param_map.h
include/blis/bli_part.h
include/blis/bli_part_check.h
include/blis/bli_pool.h
include/blis/bli_prune.h
include/blis/bli_query.h
include/blis/bli_randnp2s.h
include/blis/bli_rands.h
include/blis/bli_scal1es.h
include/blis/bli_scal1ms_mxn.h
include/blis/bli_scal1rs.h
include/blis/bli_scal21es.h
include/blis/bli_scal21ms_mxn_diag.h
include/blis/bli_scal21ms_mxn_uplo.h
include/blis/bli_scal21rs.h
include/blis/bli_scal2ios.h
include/blis/bli_scal2j1es.h
include/blis/bli_scal2j1rs.h
include/blis/bli_scal2jios.h
include/blis/bli_scal2jri3s.h
include/blis/bli_scal2jris.h
include/blis/bli_scal2jros.h
include/blis/bli_scal2jrpis.h
include/blis/bli_scal2js.h
include/blis/bli_scal2ri3s.h
include/blis/bli_scal2rihs_mxn_diag.h
include/blis/bli_scal2rihs_mxn_uplo.h
include/blis/bli_scal2ris.h
include/blis/bli_scal2ros.h
include/blis/bli_scal2rpis.h
include/blis/bli_scal2s.h
include/blis/bli_scalar_macro_defs.h
include/blis/bli_scalcjris.h
include/blis/bli_scalcjs.h
include/blis/bli_scaljris.h
include/blis/bli_scaljs.h
include/blis/bli_scalm.h
include/blis/bli_scalm_cntl.h
include/blis/bli_scalris.h
include/blis/bli_scalris_mxn_uplo.h
include/blis/bli_scals.h
include/blis/bli_set0ris.h
include/blis/bli_set0s.h
include/blis/bli_set0s_mxn.h
include/blis/bli_set1ms_mxn.h
include/blis/bli_set1ms_mxn_diag.h
include/blis/bli_set1ms_mxn_uplo.h
include/blis/bli_set1s.h
include/blis/bli_seti01ms_mxn_diag.h
include/blis/bli_seti0s.h
include/blis/bli_setis.h
include/blis/bli_setrihs_mxn_diag.h
include/blis/bli_setrs.h
include/blis/bli_sets.h
include/blis/bli_slamch.h
include/blis/bli_sqrt2ris.h
include/blis/bli_sqrt2s.h
include/blis/bli_subjris.h
include/blis/bli_subjs.h
include/blis/bli_subris.h
include/blis/bli_subs.h
include/blis/bli_swapris.h
include/blis/bli_swaps.h
include/blis/bli_symm.h
include/blis/bli_symm_front.h
include/blis/bli_symv.h
include/blis/bli_syr.h
include/blis/bli_syr2.h
include/blis/bli_syr2k.h
include/blis/bli_syr2k_front.h
include/blis/bli_syrk.h
include/blis/bli_syrk_front.h
include/blis/bli_system.h
include/blis/bli_thrcomm.h
include/blis/bli_thrcomm_openmp.h
include/blis/bli_thrcomm_pthreads.h
include/blis/bli_thrcomm_single.h
include/blis/bli_thread.h
include/blis/bli_thrinfo.h
include/blis/bli_trmm.h
include/blis/bli_trmm3.h
include/blis/bli_trmm3_front.h
include/blis/bli_trmm_front.h
include/blis/bli_trmm_var.h
include/blis/bli_trmv.h
include/blis/bli_trmv_var.h
include/blis/bli_trsm.h
include/blis/bli_trsm_cntl.h
include/blis/bli_trsm_front.h
include/blis/bli_trsm_int.h
include/blis/bli_trsm_var.h
include/blis/bli_trsmind_cntx.h
include/blis/bli_trsmind_x_ukr_ref.h
include/blis/bli_trsv.h
include/blis/bli_trsv_var.h
include/blis/bli_type_defs.h
include/blis/bli_unpackm.h
include/blis/bli_unpackm_blk_var1.h
include/blis/bli_unpackm_check.h
include/blis/bli_unpackm_cntl.h
include/blis/bli_unpackm_cxk.h
include/blis/bli_unpackm_cxk_ref.h
include/blis/bli_unpackm_int.h
include/blis/bli_unpackm_unb_var1.h
include/blis/bli_util.h
include/blis/bli_util_check.h
include/blis/bli_util_oapi.h
include/blis/bli_util_tapi.h
include/blis/bli_util_unb_var1.h
include/blis/bli_xpbyjris.h
include/blis/bli_xpbyjs.h
include/blis/bli_xpbyris.h
include/blis/bli_xpbys.h
include/blis/bli_xpbys_mxn.h
include/blis/bli_xpbys_mxn_uplo.h
%%CBLAS%%include/blis/blis.h
%%CBLAS%%include/blis/cblas.h
include/blis/cblas_f77.h
include/blis/f77_amax_sub.h
include/blis/f77_asum_sub.h
include/blis/f77_dot_sub.h
include/blis/f77_nrm2_sub.h
lib/libblis.a