e23f4d0646a3e8d28cc146c28574359585295249,setup.py,,,#,12

Before Change


// add platform dependant optional compilation argument
opt_arg=["-O3"]
import platform
if platform.system()=="Darwin":
  if platform.release()=="18.0.0":
      opt_arg.append("-stdlib=libc++") // correspond to a compilation problem with Mojave and XCode 10

After Change


here = path.abspath(path.dirname(__file__))


os.environ["CC"] = "g++" 
os.environ["CXX"] = "g++"

// dirty but working
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rflamary/POT
Commit Name: e23f4d0646a3e8d28cc146c28574359585295249
Time: 2020-02-28
Author: ncourty@irisa.fr
File Name: setup.py
Class Name:
Method Name:


Project Name: pytorch/audio
Commit Name: 2fd32dd017c0332956e913bb08c20867bfbe3abe
Time: 2020-06-08
Author: 855818+mthrok@users.noreply.github.com
File Name: torchaudio/_backend.py
Class Name:
Method Name:


Project Name: uqfoundation/mystic
Commit Name: f8ffe7d5fe8f72587e95abeb63349b1ec129d1e2
Time: 2019-10-26
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: tests/__main__.py
Class Name:
Method Name: