fn main() {
println!("cargo:rerun-if-env-changed=CARGO_FEATURE_DIFFTEST");
if std::env::var_os("CARGO_FEATURE_DIFFTEST").is_none() {
return;
}
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_sin_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_sin_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_cos_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_cos_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_vlog_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_vlog_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_sqrt_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_sqrt_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_divide_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/FastMathFunctions/arm_divide_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_abs_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_abs_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_mult_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_mult_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_dot_prod_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_dot_prod_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_shift_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_shift_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_offset_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_offset_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_scale_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/BasicMathFunctions/arm_scale_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/StatisticsFunctions/arm_absmax_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/StatisticsFunctions/arm_absmax_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/ComplexMathFunctions/arm_cmplx_mag_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/MatrixFunctions/arm_mat_add_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/MatrixFunctions/arm_mat_add_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/MatrixFunctions/arm_mat_mult_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/MatrixFunctions/arm_mat_mult_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/MatrixFunctions/arm_mat_vec_mult_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/MatrixFunctions/arm_mat_vec_mult_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_bitreversal.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_bitreversal2.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_cfft_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_cfft_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_cfft_radix2_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_cfft_radix2_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_cfft_radix4_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_cfft_radix4_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_rfft_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_rfft_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_rfft_init_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_rfft_init_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_mfcc_init_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_mfcc_init_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_mfcc_q15.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/TransformFunctions/arm_mfcc_q31.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/CommonTables/arm_common_tables.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Source/CommonTables/arm_const_structs.c");
println!("cargo:rerun-if-changed=CMSIS-DSP/Include");
println!("cargo:rerun-if-changed=CMSIS-DSP/PrivateInclude");
cc::Build::new()
.define("__GNUC_PYTHON__", Some("1"))
.include("CMSIS-DSP/Include")
.include("CMSIS-DSP/PrivateInclude")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_sin_q15.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_sin_q31.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_cos_q15.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_cos_q31.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_vlog_q15.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_vlog_q31.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_sqrt_q15.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_sqrt_q31.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_divide_q15.c")
.file("CMSIS-DSP/Source/FastMathFunctions/arm_divide_q31.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_abs_q15.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_abs_q31.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_mult_q15.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_mult_q31.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_shift_q15.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_shift_q31.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_offset_q15.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_offset_q31.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_scale_q15.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_scale_q31.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_dot_prod_q15.c")
.file("CMSIS-DSP/Source/BasicMathFunctions/arm_dot_prod_q31.c")
.file("CMSIS-DSP/Source/StatisticsFunctions/arm_absmax_q15.c")
.file("CMSIS-DSP/Source/StatisticsFunctions/arm_absmax_q31.c")
.file("CMSIS-DSP/Source/ComplexMathFunctions/arm_cmplx_mag_q15.c")
.file("CMSIS-DSP/Source/ComplexMathFunctions/arm_cmplx_mag_q31.c")
.file("CMSIS-DSP/Source/MatrixFunctions/arm_mat_add_q15.c")
.file("CMSIS-DSP/Source/MatrixFunctions/arm_mat_add_q31.c")
.file("CMSIS-DSP/Source/MatrixFunctions/arm_mat_mult_q15.c")
.file("CMSIS-DSP/Source/MatrixFunctions/arm_mat_mult_q31.c")
.file("CMSIS-DSP/Source/MatrixFunctions/arm_mat_vec_mult_q15.c")
.file("CMSIS-DSP/Source/MatrixFunctions/arm_mat_vec_mult_q31.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_bitreversal.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_bitreversal2.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_cfft_q15.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_cfft_q31.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_cfft_radix2_q15.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_cfft_radix2_q31.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_cfft_radix4_q15.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_cfft_radix4_q31.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_rfft_q15.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_rfft_q31.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_rfft_init_q15.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_rfft_init_q31.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_mfcc_init_q15.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_mfcc_init_q31.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_mfcc_q15.c")
.file("CMSIS-DSP/Source/TransformFunctions/arm_mfcc_q31.c")
.file("CMSIS-DSP/Source/CommonTables/arm_common_tables.c")
.file("CMSIS-DSP/Source/CommonTables/arm_const_structs.c")
.flag_if_supported("-Wno-unused-parameter")
.compile("cmsis_dsp_ref");
}