File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ QSIMLIB_HIP = ../qsimcirq/qsim_hip`python3-config --extension-suffix`
99QSIMLIB_DECIDE = ../qsimcirq/qsim_decide` python3-config --extension-suffix `
1010
1111# The flags for the compilation of the simd-specific Pybind11 interfaces
12- PYBINDFLAGS_BASIC = -Wall -shared -std=c++17 -fPIC ` python3 -m pybind11 --includes`
13- PYBINDFLAGS_SSE = -msse4.1 -Wall -shared -std=c++17 -fPIC ` python3 -m pybind11 --includes`
14- PYBINDFLAGS_AVX2 = -mavx2 -mfma -Wall -shared -std=c++17 -fPIC ` python3 -m pybind11 --includes`
15- PYBINDFLAGS_AVX512 = -mavx512f -mbmi2 -Wall -shared -std=c++17 -fPIC ` python3 -m pybind11 --includes`
12+ PYBINDFLAGS_BASIC = -Wall -shared -std=c++17 -fPIC ` pybind11-config --includes `
13+ PYBINDFLAGS_SSE = -msse4.1 -Wall -shared -std=c++17 -fPIC ` pybind11-config --includes `
14+ PYBINDFLAGS_AVX2 = -mavx2 -mfma -Wall -shared -std=c++17 -fPIC ` pybind11-config --includes `
15+ PYBINDFLAGS_AVX512 = -mavx512f -mbmi2 -Wall -shared -std=c++17 -fPIC ` pybind11-config --includes `
1616
1717# The flags for the compilation of CUDA-specific Pybind11 interfaces
18- PYBINDFLAGS_CUDA = -std=c++17 -x cu -Xcompiler "-Wall -shared -fPIC ` python3 -m pybind11 --includes` "
18+ PYBINDFLAGS_CUDA = -std=c++17 -x cu -Xcompiler "-Wall -shared -fPIC ` pybind11-config --includes ` "
1919
2020# The flags for the compilation of cuStateVec-specific Pybind11 interfaces
2121PYBINDFLAGS_CUSTATEVEC = $(CUSTATEVECFLAGS ) $(PYBINDFLAGS_CUDA )
2222
2323# The flags for the compilation of HIP-specific Pybind11 interfaces
24- PYBINDFLAGS_HIP = -std=c++17 -Wall -shared -fPIC ` python3 -m pybind11 --includes`
24+ PYBINDFLAGS_HIP = -std=c++17 -Wall -shared -fPIC ` pybind11-config --includes `
2525
2626# Check for nvcc to decide compilation mode.
2727ifeq ($(shell which $(NVCC ) ) ,)
You can’t perform that action at this time.
0 commit comments