Skip to content
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

Implementation of QuickThreads for Darwin PowerPC is broken #54

Open
barracuda156 opened this issue Jun 18, 2023 · 2 comments
Open

Implementation of QuickThreads for Darwin PowerPC is broken #54

barracuda156 opened this issue Jun 18, 2023 · 2 comments

Comments

@barracuda156
Copy link

Could someone take a look, please?
tests_macOS_ppc.log

@barracuda156
Copy link
Author

Ha, I have changed settings and got 100% passing:

/usr/bin/make  -f examples/CMakeFiles/check.dir/build.make examples/CMakeFiles/check.dir/depend
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_systemc/systemc/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_systemc/systemc/work/systemc-2.3.4 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_systemc/systemc/work/systemc-2.3.4/examples /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_systemc/systemc/work/build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_systemc/systemc/work/build/examples /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_systemc/systemc/work/build/examples/CMakeFiles/check.dir/DependInfo.cmake --color=
/usr/bin/make  -f examples/CMakeFiles/check.dir/build.make examples/CMakeFiles/check.dir/build
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_systemc/systemc/work/build/examples && /opt/local/bin/ctest -C MacPorts
Test project /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_systemc/systemc/work/build/examples
      Start  1: examples/sysc/2.1/dpipe/dpipe
 1/33 Test  #1: examples/sysc/2.1/dpipe/dpipe ................................   Passed    0.13 sec
      Start  2: examples/sysc/2.1/forkjoin/forkjoin
 2/33 Test  #2: examples/sysc/2.1/forkjoin/forkjoin ..........................   Passed    0.13 sec
      Start  3: examples/sysc/2.1/reset_signal_is/reset_signal_is
 3/33 Test  #3: examples/sysc/2.1/reset_signal_is/reset_signal_is ............   Passed    0.14 sec
      Start  4: examples/sysc/2.1/sc_export/sc_export
 4/33 Test  #4: examples/sysc/2.1/sc_export/sc_export ........................   Passed    0.12 sec
      Start  5: examples/sysc/2.1/sc_report/sc_report
 5/33 Test  #5: examples/sysc/2.1/sc_report/sc_report ........................   Passed    0.12 sec
      Start  6: examples/sysc/2.1/scx_barrier/scx_barrier
 6/33 Test  #6: examples/sysc/2.1/scx_barrier/scx_barrier ....................   Passed    0.12 sec
      Start  7: examples/sysc/2.1/scx_mutex_w_policy/scx_mutex_w_policy
 7/33 Test  #7: examples/sysc/2.1/scx_mutex_w_policy/scx_mutex_w_policy ......   Passed    0.12 sec
      Start  8: examples/sysc/2.1/specialized_signals/specialized_signals
 8/33 Test  #8: examples/sysc/2.1/specialized_signals/specialized_signals ....   Passed    0.13 sec
      Start  9: examples/sysc/2.3/sc_rvd/sc_rvd
 9/33 Test  #9: examples/sysc/2.3/sc_rvd/sc_rvd ..............................   Passed    0.14 sec
      Start 10: examples/sysc/2.3/sc_ttd/sc_ttd
10/33 Test #10: examples/sysc/2.3/sc_ttd/sc_ttd ..............................   Passed    0.14 sec
      Start 11: examples/sysc/2.3/simple_async/simple_async
11/33 Test #11: examples/sysc/2.3/simple_async/simple_async ..................   Passed    0.12 sec
      Start 12: examples/sysc/fft/fft_flpt/fft_flpt
12/33 Test #12: examples/sysc/fft/fft_flpt/fft_flpt ..........................   Passed    0.16 sec
      Start 13: examples/sysc/fft/fft_fxpt/fft_fxpt
13/33 Test #13: examples/sysc/fft/fft_fxpt/fft_fxpt ..........................   Passed    0.15 sec
      Start 14: examples/sysc/fir/fir
14/33 Test #14: examples/sysc/fir/fir ........................................   Passed    0.13 sec
      Start 15: examples/sysc/fir/fir_rtl
15/33 Test #15: examples/sysc/fir/fir_rtl ....................................   Passed    0.12 sec
      Start 16: examples/sysc/pipe/pipe
16/33 Test #16: examples/sysc/pipe/pipe ......................................   Passed    0.11 sec
      Start 17: examples/sysc/pkt_switch/pkt_switch
17/33 Test #17: examples/sysc/pkt_switch/pkt_switch ..........................   Passed    0.19 sec
      Start 18: examples/sysc/risc_cpu/risc_cpu
18/33 Test #18: examples/sysc/risc_cpu/risc_cpu ..............................   Passed    0.16 sec
      Start 19: examples/sysc/rsa/rsa
19/33 Test #19: examples/sysc/rsa/rsa ........................................   Passed    0.29 sec
      Start 20: examples/sysc/simple_bus/simple_bus
20/33 Test #20: examples/sysc/simple_bus/simple_bus ..........................   Passed    0.23 sec
      Start 21: examples/sysc/simple_fifo/simple_fifo
21/33 Test #21: examples/sysc/simple_fifo/simple_fifo ........................   Passed    0.12 sec
      Start 22: examples/sysc/simple_perf/simple_perf
22/33 Test #22: examples/sysc/simple_perf/simple_perf ........................   Passed    4.03 sec
      Start 23: examples/tlm/at_1_phase/at_1_phase
23/33 Test #23: examples/tlm/at_1_phase/at_1_phase ...........................   Passed    0.23 sec
      Start 24: examples/tlm/at_2_phase/at_2_phase
24/33 Test #24: examples/tlm/at_2_phase/at_2_phase ...........................   Passed    0.28 sec
      Start 25: examples/tlm/at_4_phase/at_4_phase
25/33 Test #25: examples/tlm/at_4_phase/at_4_phase ...........................   Passed    0.28 sec
      Start 26: examples/tlm/at_extension_optional/at_extension_optional
26/33 Test #26: examples/tlm/at_extension_optional/at_extension_optional .....   Passed    0.28 sec
      Start 27: examples/tlm/at_mixed_targets/at_mixed_targets
27/33 Test #27: examples/tlm/at_mixed_targets/at_mixed_targets ...............   Passed    0.24 sec
      Start 28: examples/tlm/at_ooo/at_ooo
28/33 Test #28: examples/tlm/at_ooo/at_ooo ...................................   Passed    0.26 sec
      Start 29: examples/tlm/lt/lt
29/33 Test #29: examples/tlm/lt/lt ...........................................   Passed    0.16 sec
      Start 30: examples/tlm/lt_dmi/lt_dmi
30/33 Test #30: examples/tlm/lt_dmi/lt_dmi ...................................   Passed    0.18 sec
      Start 31: examples/tlm/lt_extension_mandatory/lt_extension_mandatory
31/33 Test #31: examples/tlm/lt_extension_mandatory/lt_extension_mandatory ...   Passed    0.12 sec
      Start 32: examples/tlm/lt_mixed_endian/lt_mixed_endian
32/33 Test #32: examples/tlm/lt_mixed_endian/lt_mixed_endian .................   Passed    0.15 sec
      Start 33: examples/tlm/lt_temporal_decouple/lt_temporal_decouple
33/33 Test #33: examples/tlm/lt_temporal_decouple/lt_temporal_decouple .......   Passed    0.17 sec

100% tests passed, 0 tests failed out of 33

Total Test time (real) =   9.50 sec

Now just need to make sure what is the minimum required change. Gimme a couple of rebuilds.

@barracuda156
Copy link
Author

So what older macOS needs is -DENABLE_PTHREADS=ON.

barracuda156 added a commit to barracuda156/systemc that referenced this issue Jun 18, 2023
@barracuda156 barracuda156 changed the title macOS ppc: 27% tests passed, 24 tests failed out of 33 Implementation of QuickThreads for Darwin PowerPC is broken Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant