-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake scripts cleanups #680
Commits on May 5, 2021
-
iiod: Use WITH_AIO instead of ENABLE_AIO
The code already checked for the WITH_AIO macro, and almost all configurable options in libiio and IIOD use the "WITH" prefix. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Configuration menu - View commit details
-
Copy full SHA for 826e451 - Browse repository at this point
Copy the full SHA 826e451View commit details
Commits on May 7, 2021
-
network: Fix IN6_IS_ADDR_LINKLOCAL() macro on old OSes
Old OSes (CentOS 7, Ubuntu 16.04) require s6_addr32 to be defined for the IN6_IS_ADDR_LINKLOCAL() macro to work. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Configuration menu - View commit details
-
Copy full SHA for 70c4e0e - Browse repository at this point
Copy the full SHA 70c4e0eView commit details -
CMake: Move check for pthread_setname_np to IIOD
This function is not used in libiio, but is used by IIOD. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Configuration menu - View commit details
-
Copy full SHA for adf33f2 - Browse repository at this point
Copy the full SHA adf33f2View commit details -
CMake: Don't compile with -D_GNU_SOURCE
We do not want to compile with GNU-specific extensions, as we want the code to be as portable as possible. Thanksfully we don't actually need _GNU_SOURCE to be defined, removing it only triggers an error in network-unix.c about an undefined structure, which we can fix by including the right header. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Configuration menu - View commit details
-
Copy full SHA for 57db981 - Browse repository at this point
Copy the full SHA 57db981View commit details -
CMake: Make options independant from environment
Instead of making build options available according to whether or not a library is found, only search for the library if the option has been enabled. This change may temporarily break the auto-builders (which will need to be updated), but it makes the build *reproductible*, and that's very important. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Configuration menu - View commit details
-
Copy full SHA for e8b3574 - Browse repository at this point
Copy the full SHA e8b3574View commit details -
CI: Update build script for Mac OSX
Disable serial backend, enable ZSTD support. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Configuration menu - View commit details
-
Copy full SHA for 9c87375 - Browse repository at this point
Copy the full SHA 9c87375View commit details -
CI: Update build script for Windows
Disable serial and USB backends. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Configuration menu - View commit details
-
Copy full SHA for ff96fc8 - Browse repository at this point
Copy the full SHA ff96fc8View commit details -
CI: Update build script for Linux
Enable ZSTD support, except on Ubuntu 16.04 where it doesn't build, and explicitely set the build options as it is required now. Note that the serial backend is disabled on Ubuntu 16.04 as its version of libserialport is too old, and USB support in IIOD is disabled in CentOS 7 as its kernel headers are too old. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Configuration menu - View commit details
-
Copy full SHA for c31cc2f - Browse repository at this point
Copy the full SHA c31cc2fView commit details