Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit e442f62

Browse files
committed
Fix Makefile and license headers
1 parent e87a55f commit e442f62

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎create_python_envs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2017 Intel Corporation
1+
# Copyright (C) 2017-2018 Intel Corporation
22
#
33
# SPDX-License-Identifier: MIT
44

‎numpy/umath/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MIT
44

55
CC = icc
6-
CFLAGS = -I../../timer -qopenmp -xCORE-AVX2 -axCOMMON-AVX512 -O3 \
6+
CFLAGS = -qopenmp -xCORE-AVX2 -axCOMMON-AVX512 -O3 \
77
-g -fp-model precise -fimf-precision=high -lmkl_rt
88

99
PYTHON ?= python
@@ -15,7 +15,7 @@ clean:
1515
rm -f umath_precise umath_bench.c
1616

1717
umath_precise: umath_bench.c
18-
icc umath_bench.c $(CFLAGS) -o umath_precise
18+
$(CC) umath_bench.c $(CPPFLAGS) $(CFLAGS) -o umath_precise
1919

2020
umath_bench.c: umath_bench.c.src
2121
$(PYTHON) -m numpy.distutils.conv_template umath_bench.c.src

‎numpy/umath/umath_bench.c.src‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*
44
* SPDX-License-Identifier: MIT
55
*/
6+
67
#include <stdlib.h>
78
#include <stdio.h>
89
#include <math.h>

0 commit comments

Comments
 (0)