Summary/Minutes from today's FPC Meeting (YYYY-MM-DD 16:00 - 17:10 UTC)
by James Antill
======================
#fedora-meeting-1: fpc
======================
Meeting started by geppetto at 16:00:03 UTC. The full logs are available
at
https://meetbot.fedoraproject.org/fedora-meeting-1/2020-08-27/fpc.2020-08...
.
Meeting summary
---------------
* Roll Call (geppetto, 16:00:03)
* Schedule (geppetto, 16:06:34)
* LINK:
https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproje...
(geppetto, 16:06:37)
* #pr-1011 Python guidelines updates (geppetto, 16:10:13)
* LINK: https://pagure.io/packaging-committee/pull-request/1011
(geppetto, 16:10:13)
* ACTION: Merge pr-1011 Python guidelines updates (+1:5, 0:0, -1:0)
(geppetto, 16:19:46)
* #pr-1013 Document py_reproducible_pyc_path macro (geppetto, 16:19:59)
* LINK: https://pagure.io/packaging-committee/pull-request/1013
(geppetto, 16:19:59)
* ACTION: Merge #pr-1013 Document py_reproducible_pyc_path macro
(+1:5, 0:0, -1:0) (geppetto, 16:24:01)
* #pr-942 Recommend storing changelog entries in separate file.
(geppetto, 16:24:43)
* LINK: https://pagure.io/packaging-committee/pull-request/942
(geppetto, 16:24:44)
* ACTION: #pr-942 rejected … pretty much everyone doesn't like this
approach to solving the problem. Speak to pingu, sgallagh,
rpmbumpspec devs etc. (geppetto, 16:39:12)
* #977 Get new members? (geppetto, 16:46:49)
* LINK: https://pagure.io/packaging-committee/issue/977 (geppetto,
16:46:49)
* ACTION: Add carlwgeorge and King_InuYasha as new members (geppetto,
16:52:38)
* Open Floor (geppetto, 16:55:17)
* LINK: https://fedoraproject.org/wiki/Packaging_Committee#Members
(mhroncok, 16:56:45)
Meeting ended at 17:08:20 UTC.
Action Items
------------
* Merge pr-1011 Python guidelines updates (+1:5, 0:0, -1:0)
* Merge #pr-1013 Document py_reproducible_pyc_path macro (+1:5, 0:0,
-1:0)
* #pr-942 rejected … pretty much everyone doesn't like this approach to
solving the problem. Speak to pingu, sgallagh, rpmbumpspec devs etc.
* Add carlwgeorge and King_InuYasha as new members
Action Items, by person
-----------------------
* carlwgeorge
* Add carlwgeorge and King_InuYasha as new members
* King_InuYasha
* Add carlwgeorge and King_InuYasha as new members
* sgallagh
* #pr-942 rejected … pretty much everyone doesn't like this approach
to solving the problem. Speak to pingu, sgallagh, rpmbumpspec devs
etc.
* **UNASSIGNED**
* Merge pr-1011 Python guidelines updates (+1:5, 0:0, -1:0)
* Merge #pr-1013 Document py_reproducible_pyc_path macro (+1:5, 0:0,
-1:0)
People Present (lines said)
---------------------------
* geppetto (84)
* King_InuYasha (70)
* mhroncok (38)
* tibbs (28)
* limburgher (27)
* decathorpe (24)
* zodbot (15)
* carlwgeorge (13)
* sgallagh (11)
* smooge (10)
* bcotton (4)
* defolos (1)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
5 months
What is the best practice to use both gcc and clang flags macros in %check?
by Jun Aruga
In my case on rpms/simde, I want to compile the testing source in
"both" gcc and clang changing the toolchain macro in the %check
section.
I am seeing this file to use toolchain macro.
https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/macros...
> # %global toolchain clang
In this case what is the best practice to use %{optflags},
%{build_cflags}, %{build_cxxflags} macros?
Because after setting `%global toolchain clang` in the %check section,
these macros are empty.
Here is the simde.spec having both gcc and clang built test cases in
the%check section.
https://src.fedoraproject.org/fork/jaruga/rpms/simde/blob/wip/clang-flto-...
```
%check
...
echo "=== 1.2. tests on gcc with flags ==="
mkdir test/build-gcc-with-flags
pushd test/build-gcc-with-flags
CC=gcc CXX=g++ cmake \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_C_FLAGS="%{build_cflags}" \
-DCMAKE_CXX_FLAGS="%{build_cxxflags}" \
..
...
%global toolchain clang
...
echo "=== 2.2. tests on clang with flags ==="
mkdir test/build-clang-with-flags
pushd test/build-clang-with-flags
CC=clang CXX=clang++ cmake \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_C_FLAGS="${build_cflags}" \ # <= ${build_cflags} is empty!
-DCMAKE_CXX_FLAGS="${build_cxxflags}" \ # <= ${build_cxxflags} is empty!
..
```
The scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=48755502
Thanks.
--
Jun | He - His - Him
5 months, 3 weeks