Skip to content

Commit

Permalink
Merge pull request #466 from bluescarni/pr/erfa
Browse files Browse the repository at this point in the history
Include private copy of erfa
  • Loading branch information
bluescarni authored Jan 2, 2025
2 parents 440e6ad + f4cc21a commit fd6d070
Show file tree
Hide file tree
Showing 262 changed files with 58,990 additions and 29 deletions.
12 changes: 9 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if(NOT CMAKE_BUILD_TYPE)
FORCE)
endif()

project(heyoka VERSION 7.0.0 LANGUAGES CXX C)
project(heyoka VERSION 7.1.0 LANGUAGES CXX C)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/yacma")

Expand Down Expand Up @@ -330,7 +330,7 @@ if(HEYOKA_WITH_SLEEF)
endif()

# Setup the heyoka ABI version number.
set(HEYOKA_ABI_VERSION 32)
set(HEYOKA_ABI_VERSION 33)

if(HEYOKA_BUILD_STATIC_LIBRARY)
# Setup of the heyoka static library.
Expand Down Expand Up @@ -373,7 +373,6 @@ if(HEYOKA_ENABLE_IPO)
else()
message(STATUS "IPO requested, but it is not supported by the compiler:\n${_HEYOKA_IPO_OUTPUT}")
endif()
unset(_HEYOKA_IPO_RESULT)
unset(_HEYOKA_IPO_OUTPUT)
endif()

Expand Down Expand Up @@ -478,6 +477,10 @@ if(_HEYOKA_LLVM_STATIC_LINK AND HEYOKA_HIDE_LLVM_SYMBOLS)
unset(CMAKE_REQUIRED_QUIET)
endif()

# Mandatory dependency on the internal erfa library.
add_subdirectory(src/detail/erfa)
target_link_libraries(heyoka PRIVATE heyoka_erfa)

# Mandatory dependency on fmt.
set(_HEYOKA_MIN_SUPPORTED_FMT_VERSION 9)
set(_HEYOKA_MAX_SUPPORTED_FMT_VERSION 11)
Expand Down Expand Up @@ -608,6 +611,9 @@ unset(_HEYOKA_WITH_REAL)
unset(_HEYOKA_LLVM_STATIC_LINK)
unset(_HEYOKA_MIN_SUPPORTED_FMT_VERSION)
unset(_HEYOKA_MAX_SUPPORTED_FMT_VERSION)
if(HEYOKA_ENABLE_IPO)
unset(_HEYOKA_IPO_RESULT)
endif()

if(HEYOKA_BUILD_TESTS)
enable_testing()
Expand Down
1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ coverage:
- "src/detail/elp2000/.*"
- "include/heyoka/detail/tanuki*"
- "include/heyoka/detail/mdspan*"
- "src/detail/erfa/.*"

comment: off
10 changes: 10 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Changelog
=========

7.1.0 (2025-01-02)
------------------

Changes
~~~~~~~

- The SGP4 propagator now expects epochs and propagation dates
as UTC Julian dates
(`#466 <https://github.com/bluescarni/heyoka/pull/466>`__).

7.0.0 (2024-12-28)
------------------

Expand Down
5 changes: 2 additions & 3 deletions include/heyoka/model/sgp4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,8 @@ class HEYOKA_DLL_PUBLIC_INLINE_CLASS sgp4_propagator
// - the reference epoch (as a Julian date),
// - a fractional correction to the epoch (in Julian days).
//
// Note that UTC Julian dates will result in slightly incorrect results when
// propagating across leap seconds. See the Python tutorial for an explanation.
// TAI Julian dates can be used instead for accurate propagation across leap seconds.
// Julian dates are to be provided in the UTC scale of time. Internal conversion
// to TAI will ensure correct propagation across leap seconds.
template <typename LayoutPolicy, typename AccessorPolicy, typename... KwArgs>
requires(!igor::has_unnamed_arguments<KwArgs...>())
explicit sgp4_propagator(
Expand Down
267 changes: 267 additions & 0 deletions src/detail/erfa/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
set(HEYOKA_ERFA_SRC_FILES
"${CMAKE_CURRENT_SOURCE_DIR}/a2af.c"
"${CMAKE_CURRENT_SOURCE_DIR}/a2tf.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ab.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ae2hd.c"
"${CMAKE_CURRENT_SOURCE_DIR}/af2a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/anp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/anpm.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apcg13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apcg.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apci13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apci.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apco13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apco.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apcs13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apcs.c"
"${CMAKE_CURRENT_SOURCE_DIR}/aper13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/aper.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apio13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/apio.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atcc13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atccq.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atci13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atciq.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atciqn.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atciqz.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atco13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atic13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/aticq.c"
"${CMAKE_CURRENT_SOURCE_DIR}/aticqn.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atio13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atioq.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atoc13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atoi13.c"
"${CMAKE_CURRENT_SOURCE_DIR}/atoiq.c"
"${CMAKE_CURRENT_SOURCE_DIR}/bi00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/bp00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/bp06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/bpn2xy.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2i00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2i00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2i06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2ibpn.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2ixy.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2ixys.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2s.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2t00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2t00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2t06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2tcio.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2teqx.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2tpe.c"
"${CMAKE_CURRENT_SOURCE_DIR}/c2txy.c"
"${CMAKE_CURRENT_SOURCE_DIR}/cal2jd.c"
"${CMAKE_CURRENT_SOURCE_DIR}/cp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/cpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/cr.c"
"${CMAKE_CURRENT_SOURCE_DIR}/d2dtf.c"
"${CMAKE_CURRENT_SOURCE_DIR}/d2tf.c"
"${CMAKE_CURRENT_SOURCE_DIR}/dat.c"
"${CMAKE_CURRENT_SOURCE_DIR}/dtdb.c"
"${CMAKE_CURRENT_SOURCE_DIR}/dtf2d.c"
"${CMAKE_CURRENT_SOURCE_DIR}/eceq06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ecm06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ee00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ee00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ee00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ee06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/eect00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/eform.c"
"${CMAKE_CURRENT_SOURCE_DIR}/eo06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/eors.c"
"${CMAKE_CURRENT_SOURCE_DIR}/epb2jd.c"
"${CMAKE_CURRENT_SOURCE_DIR}/epb.c"
"${CMAKE_CURRENT_SOURCE_DIR}/epj2jd.c"
"${CMAKE_CURRENT_SOURCE_DIR}/epj.c"
"${CMAKE_CURRENT_SOURCE_DIR}/epv00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/eqec06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/eqeq94.c"
"${CMAKE_CURRENT_SOURCE_DIR}/era00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/erfadatextra.c"
# "${CMAKE_CURRENT_SOURCE_DIR}/erfaversion.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fad03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fae03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/faf03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/faju03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fal03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/falp03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fama03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fame03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fane03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/faom03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fapa03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fasa03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/faur03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fave03.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fk425.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fk45z.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fk524.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fk52h.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fk54z.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fk5hip.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fk5hz.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fw2m.c"
"${CMAKE_CURRENT_SOURCE_DIR}/fw2xy.c"
"${CMAKE_CURRENT_SOURCE_DIR}/g2icrs.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gc2gd.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gc2gde.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gd2gc.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gd2gce.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gmst00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gmst06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gmst82.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gst00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gst00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gst06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gst06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/gst94.c"
"${CMAKE_CURRENT_SOURCE_DIR}/h2fk5.c"
"${CMAKE_CURRENT_SOURCE_DIR}/hd2ae.c"
"${CMAKE_CURRENT_SOURCE_DIR}/hd2pa.c"
"${CMAKE_CURRENT_SOURCE_DIR}/hfk5z.c"
"${CMAKE_CURRENT_SOURCE_DIR}/icrs2g.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ir.c"
"${CMAKE_CURRENT_SOURCE_DIR}/jd2cal.c"
"${CMAKE_CURRENT_SOURCE_DIR}/jdcalf.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ld.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ldn.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ldsun.c"
"${CMAKE_CURRENT_SOURCE_DIR}/lteceq.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ltecm.c"
"${CMAKE_CURRENT_SOURCE_DIR}/lteqec.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ltpb.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ltp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ltpecl.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ltpequ.c"
"${CMAKE_CURRENT_SOURCE_DIR}/moon98.c"
"${CMAKE_CURRENT_SOURCE_DIR}/num00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/num00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/num06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/numat.c"
"${CMAKE_CURRENT_SOURCE_DIR}/nut00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/nut00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/nut06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/nut80.c"
"${CMAKE_CURRENT_SOURCE_DIR}/nutm80.c"
"${CMAKE_CURRENT_SOURCE_DIR}/obl06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/obl80.c"
"${CMAKE_CURRENT_SOURCE_DIR}/p06e.c"
"${CMAKE_CURRENT_SOURCE_DIR}/p2pv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/p2s.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pap.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pas.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pb06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pdp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pfw06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/plan94.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pmat00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pmat06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pmat76.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pm.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pmp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pmpx.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pmsafe.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pn00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pn00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pn00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pn06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pn06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pn.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pnm00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pnm00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pnm06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pnm80.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pom00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ppp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ppsp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pr00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/prec76.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pv2p.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pv2s.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvdpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvm.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvmpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvppv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvstar.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvtob.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvu.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvup.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pvxpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/pxp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/refco.c"
"${CMAKE_CURRENT_SOURCE_DIR}/rm2v.c"
"${CMAKE_CURRENT_SOURCE_DIR}/rv2m.c"
"${CMAKE_CURRENT_SOURCE_DIR}/rx.c"
"${CMAKE_CURRENT_SOURCE_DIR}/rxp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/rxpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/rxr.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ry.c"
"${CMAKE_CURRENT_SOURCE_DIR}/rz.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s2c.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s2p.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s2pv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/s2xpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/sepp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/seps.c"
"${CMAKE_CURRENT_SOURCE_DIR}/sp00.c"
"${CMAKE_CURRENT_SOURCE_DIR}/starpm.c"
"${CMAKE_CURRENT_SOURCE_DIR}/starpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/sxp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/sxpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/taitt.c"
"${CMAKE_CURRENT_SOURCE_DIR}/taiut1.c"
"${CMAKE_CURRENT_SOURCE_DIR}/taiutc.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tcbtdb.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tcgtt.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tdbtcb.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tdbtt.c"
# "${CMAKE_CURRENT_SOURCE_DIR}/t_erfa_c.c"
# "${CMAKE_CURRENT_SOURCE_DIR}/t_erfa_c_extra.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tf2a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tf2d.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tpors.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tporv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tpsts.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tpstv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tpxes.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tpxev.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tr.c"
"${CMAKE_CURRENT_SOURCE_DIR}/trxp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/trxpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tttai.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tttcg.c"
"${CMAKE_CURRENT_SOURCE_DIR}/tttdb.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ttut1.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ut1tai.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ut1tt.c"
"${CMAKE_CURRENT_SOURCE_DIR}/ut1utc.c"
"${CMAKE_CURRENT_SOURCE_DIR}/utctai.c"
"${CMAKE_CURRENT_SOURCE_DIR}/utcut1.c"
"${CMAKE_CURRENT_SOURCE_DIR}/xy06.c"
"${CMAKE_CURRENT_SOURCE_DIR}/xys00a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/xys00b.c"
"${CMAKE_CURRENT_SOURCE_DIR}/xys06a.c"
"${CMAKE_CURRENT_SOURCE_DIR}/zp.c"
"${CMAKE_CURRENT_SOURCE_DIR}/zpv.c"
"${CMAKE_CURRENT_SOURCE_DIR}/zr.c"
)

add_library(heyoka_erfa STATIC "${HEYOKA_ERFA_SRC_FILES}")

# Compile in C99 mode.
target_compile_features(heyoka_erfa PRIVATE c_std_99)
# Enforce vanilla C.
set_property(TARGET heyoka_erfa PROPERTY C_EXTENSIONS NO)

# IPO setup.
if(HEYOKA_ENABLE_IPO)
if (_HEYOKA_IPO_RESULT)
set_property(TARGET heyoka_erfa PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()
endif()
Loading

0 comments on commit fd6d070

Please sign in to comment.