Skip to content

Commit 600e1a0

Browse files
committed
1 parent 200d172 commit 600e1a0

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_posix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0

graalpython/com.oracle.graal.python.test/src/tests/test_time.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0

graalpython/lib-graalpython/patches/numpy/sdist/numpy-1.16.4.patch

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,28 @@ index d1b029c18..2bdff3d6c 100644
722722

723723
retval = execute_legacy_ufunc_loop(ufunc, trivial_loop_ok,
724724
op, dtypes, order,
725+
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
726+
index 9e192329f63..85a0c932145 100644
727+
--- a/numpy/distutils/system_info.py
728+
+++ b/numpy/distutils/system_info.py
729+
@@ -2494,8 +2494,6 @@ def calc_info(self):
730+
'accelerate' in libraries):
731+
if intel:
732+
args.extend(['-msse3'])
733+
- else:
734+
- args.extend(['-faltivec'])
735+
args.extend([
736+
'-I/System/Library/Frameworks/vecLib.framework/Headers'])
737+
link_args.extend(['-Wl,-framework', '-Wl,Accelerate'])
738+
@@ -2504,8 +2502,6 @@ def calc_info(self):
739+
'veclib' in libraries):
740+
if intel:
741+
args.extend(['-msse3'])
742+
- else:
743+
- args.extend(['-faltivec'])
744+
args.extend([
745+
'-I/System/Library/Frameworks/vecLib.framework/Headers'])
746+
link_args.extend(['-Wl,-framework', '-Wl,vecLib'])
725747
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py
726748
index 14451fa66..85e64cc6e 100644
727749
--- a/numpy/distutils/ccompiler.py

0 commit comments

Comments
 (0)