Skip to content

Commit

Permalink
Merge pull request tensorflow#159 from tensorflow/windows_math
Browse files Browse the repository at this point in the history
Added flag to enable _USE_MATH_DEFINES on windows
  • Loading branch information
jaeyoo committed Mar 12, 2020
2 parents a0ef76b + 396ffa1 commit d5c0207
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tensorflow_quantum/core/ops/BUILD
Expand Up @@ -20,6 +20,7 @@ cc_binary(
copts = select({
":windows": [
"/D__CLANG_SUPPORT_DYN_ANNOTATION__",
"/D_USE_MATH_DEFINES",
"/DEIGEN_MPL2_ONLY",
"/DEIGEN_MAX_ALIGN_BYTES=64",
"/DEIGEN_HAS_TYPE_TRAITS=0",
Expand Down Expand Up @@ -74,6 +75,7 @@ cc_binary(
copts = select({
":windows": [
"/D__CLANG_SUPPORT_DYN_ANNOTATION__",
"/D_USE_MATH_DEFINES",
"/DEIGEN_MPL2_ONLY",
"/DEIGEN_MAX_ALIGN_BYTES=64",
"/DEIGEN_HAS_TYPE_TRAITS=0",
Expand Down Expand Up @@ -134,6 +136,7 @@ cc_binary(
copts = select({
":windows": [
"/D__CLANG_SUPPORT_DYN_ANNOTATION__",
"/D_USE_MATH_DEFINES",
"/DEIGEN_MPL2_ONLY",
"/DEIGEN_MAX_ALIGN_BYTES=64",
"/DEIGEN_HAS_TYPE_TRAITS=0",
Expand Down

0 comments on commit d5c0207

Please sign in to comment.