raptop changed the topic of #principia to: READ THE FAQ: http://goo.gl/gMZF9H; The current version is Fréchet. We currently target 1.5.1, 1.6.1, and 1.7.x. <scott_manley> anyone that doubts the wisdom of retrograde bop needs to get the hell out | https://xkcd.com/323/ | <egg> calculating the influence of lamont on Pluto is a bit silly… | <egg> also 4e16 m * 2^-52 is uncomfortably large
Wetmelon has quit [Ping timeout: 204 seconds]
Wetmelon has joined #principia
<discord->
Pteropodidae. — Are trajectories for vessels and celestial bodies integrated using the same method with different timesteps?
<discord->
Pteropodidae. — @egg Is install_deps.sh supposed to install zfp?
<discord->
Pteropodidae. — And should I use the 0.5.5 tag?
Wetmelon has quit [Ping timeout: 378 seconds]
Mike` has quit [Ping timeout: 190 seconds]
Mike` has joined #principia
<discord->
Pteropodidae. — Ah, I found the includes
<discord->
Pteropodidae. — The paths don't seem right though
<discord->
Pteropodidae. — zfp.h is at include/zpf.h, but the include in zfp_compressor.hpp is `#include "zfp/zfp.h"`
<discord->
Pteropodidae. — And the include search path is $(DEP_DIR)zfp/include
<discord->
Pteropodidae. — So either the install step needs to move zfp.h or the `#include` needs to be changed
<discord->
Pteropodidae. — Which is the correct one?
<discord->
Pteropodidae. — Also, when was the last time you tried building on macOS?
<discord->
Pteropodidae. — I'm getting glog link errors
<discord->
Pteropodidae. — I sort of have a PR ready to go for the zfp-related stuff, but I'm holding off until I figure out whether changing that #include will break the Windows build
<discord->
Pteropodidae. — And figure out the linking errors
<discord->
Pteropodidae. — I feel compilation is taking a loooooot longer than it used to
<discord->
Pteropodidae. — Granted, it's been a while, so perhaps my memory is off
<discord->
Pteropodidae. — Also, the link errors are solvable by adding `-lgflags` to the Makefile, but that would require gflags to have been installed systemwide (e.g., through Homebrew)
<_whitenotifier-d13c>
[Principia] ts826848 opened pull request #2523: [WIP] zfp-related fixes on macOS - https://git.io/Jvp7K
<discord->
Pteropodidae. — Got 2 failing tests too
<discord->
Pteropodidae. — OrbitalElementsTest.KeplerOrbit and ApsidesTest.ComputeNodes
<discord->
egg. — We are most likely not interested in that pr
<discord->
egg. — And yes we build on Mac
<discord->
egg. — Ah you mean fixing install deps
<discord->
egg. — Hm
<discord->
egg. — Yeah that is no longer current, OTOH the pipelines don't use it so trying to keep that in synch might get unfun
egg|laptop|egg has joined #principia
* discord-
egg. — stares at the PR_
<discord->
egg. — @Pteropodidae you do realize that we provide a Linux and mac build
<discord->
egg. — that are build from the source
<discord->
egg. — so what you are doing by changing that include is breaking Windows, Linux, and Mac
<discord->
egg. — not fixing it
<discord->
Pteropodidae. — Yeah, I wasn't entirely confident that that was correct
<discord->
Pteropodidae. — But then wtf is wrong with my checkout
<discord->
egg. — probably the -I is screwy
<discord->
egg. — also, you are awang?
<discord->
egg. — been a while since I have seen you
<discord->
Pteropodidae. — Yeah, real life had some plans for me
<discord->
egg. — including confusing name changes :-p
<discord->
Pteropodidae. — Yep 😛
<discord->
Pteropodidae. — I should probably settle on one thing or another some day
<discord->
Pteropodidae. — Adding those flags to the zfp cmake command didn't help
<discord->
Pteropodidae. — glog is built using autoconf so cmake flags wouldn't help there
<discord->
Pteropodidae. — Also, why `-DCMAKE_C_COMPILER:FILEPATH=`which clang``? Is that not equivalent to just letting cmake find a C compiler on its own?
<discord->
Butcher. — Did not answer my question. 🧐
egg|laptop|egg has quit [Remote host closed the connection]
egg|laptop|egg has joined #principia
<discord->
egg. — because there are some pretty useful features in the new versions
<discord->
egg. — @Pteropodidae so we use Xcode 11.3, CXX_FLAGS should be -std=c++1z, MACOS_C_FLAGS -D_LIBCPP_STD_VER=16
<discord->
egg. — if you want to build with a different version of clang than the one we use you are on your own, much like for windows we support only one version of MSVC
<discord->
egg. — having all these flags that live only in the pipeline configuration is a mess
<_whitenotifier-d13c>
[Principia] pleroy opened pull request #2524: Marshaling of structs that include repeated fields - https://git.io/JvpAc
<_whitenotifier-d13c>
[Principia] pleroy edited pull request #2524: Marshaling of structs that include repeated fields - https://git.io/JvpAc
<_whitenotifier-d13c>
[Principia] pleroy edited pull request #2524: Marshaling of structs that include repeated fields - https://git.io/JvpAc
<discord->
egg. — @Pteropodidae re. glog I think your setup is borked and somehow tries to link your system glog rather than the one built by install_deps
<_whitenotifier-d13c>
[Principia] eggrobin opened pull request #2525: principia_make - https://git.io/JvhJE
egg|laptop|egg has quit [Remote host closed the connection]
UmbralRaptop has quit [Remote host closed the connection]
<discord->
Pteropodidae. — Not system glog
<discord->
Pteropodidae. — Just uninstalled it and tried building again, get the same error
<discord->
Pteropodidae. — I'll have to install Xcode to try that. I'm currently using the command line dev tools
<discord->
Pteropodidae. — Both `-std=c++1z` and `-D_LIBCPP_STD_VER=16` are being used when compiling Principia. Looks like the deps are built using `-std=c++14` and no `-D_LIBCPP_STD_VER=16`
<discord->
Pteropodidae. — `MACOS_C_FLAGS` don't appear to be present at all
<discord->
Pteropodidae. — Here's the output of `clang --version`:
<discord->
Pteropodidae. — ```
<discord->
Pteropodidae. — rp Principia % clang --version
<discord->
Pteropodidae. — Apple clang version 11.0.0 (clang-1100.0.33.16)
<discord->
egg. — @Pteropodidae when https://github.com/mockingbirdnest/glog/pull/5 gets merged, make a pull request into mockingbirdnest/glog that changes principia_make to pass the right cmake option
<discord->
Pteropodidae. — Hmmm
<discord->
Pteropodidae. — Something is spawning a bunch of extra processes when building with `make -j8`
<discord->
Pteropodidae. — Load climbs to ~15 or so
<discord->
egg. — isn’t that the point ?
<discord->
Pteropodidae. — The load climbing to ~15 seems a bit high
<discord->
Pteropodidae. — I would have expected it to hover around 10 or so
<discord->
Pteropodidae. — Yeah, I'm pretty sure this builds faster with `make -j1`
<discord->
egg. — odd
<discord->
egg. — though that might be dependent on the machine
<discord->
Pteropodidae. — I'll have to test it later to make sure
<discord->
Pteropodidae. — Some of these files are taking a loooooong time to build
<discord->
Pteropodidae. — Although that's not exactly unexpected for C++
<discord->
egg. — in principia itself?
<discord->
Pteropodidae. — Yeah
<discord->
egg. — yes
<discord->
egg. — principia is, uh, something
<discord->
egg. — it is mostly a giant template library
<discord->
Pteropodidae. — Yep
<discord->
egg. — with a KSP mod in a corner
<discord->
Pteropodidae. — lol
<discord->
Pteropodidae. — Getting some interesting warnings too
<discord->
Pteropodidae. — > ```
<discord->
Pteropodidae. — > In file included from ksp_plugin_test/renderer_test.cpp:2:
<discord->
Pteropodidae. — > In file included from ./ksp_plugin/renderer.hpp:14:
<discord->
Pteropodidae. — > In file included from ./ksp_plugin/vessel.hpp:16:
<discord->
Pteropodidae. — > In file included from ./ksp_plugin/part.hpp:13:
<discord->
Pteropodidae. — > In file included from ./ksp_plugin/part_subsets.hpp:12:
egg|cell|egg has quit [Read error: Connection reset by peer]
egg|cell|egg has joined #principia
egg|laptop|egg has joined #principia
<discord->
Sir Mortimer. — aaaarghh KSP ye cruel mistress
egg|laptop|egg has quit [Remote host closed the connection]
<_whitenotifier-d13c>
[Principia] scimas commented on issue #2519: Spin-up on reentry under physics warp with FAR - https://git.io/Jvhmf
UmbralRaptop has joined #principia
<discord->
Sir Mortimer. — *seufz*
<_whitenotifier-d13c>
[glog] ts826848 forked the repository - https://git.io/JvhYv
egg|cell|egg has quit [Ping timeout: 204 seconds]
<discord->
Pteropodidae. — @egg Should I close the PR in favor of one that makes the changes you listed to install_deps.sh or should I just reuse the already-open one?
<discord->
Pteropodidae. — @egg Should I close the Principia PR in favor of one that makes the changes you listed to install_deps.sh or should I just reuse the already-open one? (edited)
<discord->
Pteropodidae. — Also, that flag you found is a CMake flag, but principia_make.sh uses autoconf/configure
<discord->
Pteropodidae. — Do you want me to switch to CMAke too?
<discord->
Pteropodidae. — Do you want me to switch to CMake too? (edited)
egg|cell|egg has joined #principia
egg|cell|egg has quit [Read error: Connection reset by peer]
<discord->
Pteropodidae. — `--without-gflags` doesn't seem to work
<discord->
Pteropodidae. — `./configure --without-gflags` doesn't seem to work (edited)
egg|cell|egg has joined #principia
<discord->
Pteropodidae. — Yeah, looks like configure.ac doesn't specify any action for the `--without-gflags` flag
<discord->
Pteropodidae. — So disabling it would require using CMake
egg|cell|egg has quit [Read error: Connection reset by peer]
<discord->
Pteropodidae. — Er, wait
egg|cell|egg has joined #principia
<discord->
Pteropodidae. — Yeah, `./configure` still looks like it picks up gflags
<discord->
Pteropodidae. — Ends up failing the compilation, actually
<discord->
Pteropodidae. — `libtool: error: cannot determine absolute directory name of 'no/lib'`
egg|cell|egg has quit [Ping timeout: 190 seconds]
<discord->
Pteropodidae. — So seems gflags would need to be hidden somehow or CMake will have to be used, I think
egg|cell|egg has joined #principia
egg|cell|egg has quit [Ping timeout: 378 seconds]
egg|cell|egg has joined #principia
egg|cell|egg has quit [Read error: Connection reset by peer]
<discord->
egg. — @Pteropodidae might as well reuse the eggsisting one
<discord->
egg. — re glog, if you can get it to a state where it works it is good, if you have to use their cmake instead of their configure that is fine by me
<discord->
egg. — I don’t care which specific unholy horror you use :-p
<discord->
Pteropodidae. — Alright
<discord->
egg. — @Sir Mortimer œufs?
<discord->
Pteropodidae. — I might need to tweak include paths if their CMake config doesn't allow in-tree builds
<discord->
egg. — that would be a problem
<discord->
egg. — well, if you tweak the -I in the Makefile for that I guess it works
<discord->
egg. — changing the paths in the source is not an option we are willing to consider
<discord->
egg. — changing the paths in the C++ source is not an option we are willing to consider (edited)
<discord->
Pteropodidae. — I don't think I'll need to tweak the C++ source
<discord->
egg. — my cat is meowing loudly
<discord->
Pteropodidae. — I saw that
<discord->
egg. — does it not work?
<discord->
egg. — oh they just ignore it if they find gflags?
<discord->
Pteropodidae. — It just straight up doesn't work
<discord->
Pteropodidae. — `--without-gflags` gets turned into `--with-gflags=no`
<discord->
Pteropodidae. — And it tries to interpret `no` as a path
<discord->
Pteropodidae. — And that causes the compilation failulre
* discord-
egg. — palms face_
<discord->
Pteropodidae. — `--without-gflags` being turned into `--with-gflags=no` is some kind of built-in autotools thing, so it's on glog to properly handle that
<discord->
Pteropodidae. — And they didn't
<discord->
egg. — yeah
<discord->
egg. — Also, re.
<discord->
egg. — > [18:16] Pteropodidae: Will do after food