sstsimulator / sst-macro

SST Macro Element Library
http://sst-simulator.org/
Other
33 stars 41 forks source link

Make config more resilient to flags being included in CXX #714

Closed gvoskuilen closed 1 month ago

gvoskuilen commented 1 month ago

Fixes OSX issue

sst-autotester commented 1 month ago

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection is Not Necessary for this Pull Request.

sst-autotester commented 1 month ago

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: SST__AutotestGen2_NewFW_OSX-13.2-XC14-ARM_OMPI-4.1.4_PY3.10_sst-macro_nosstcore

  • Build Num: 20
  • Status: STARTED

Build Information

Test Name: SST__AutotestGen2_NewFW_OSX-13.2-XC14-ARM_OMPI-4.1.4_PY3.10_sst-macro_withsstcore

  • Build Num: 220
  • Status: STARTED

Build Information

Test Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-macro_nosstcore

  • Build Num: 100
  • Status: STARTED

Build Information

Test Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-macro_withsstcore

  • Build Num: 557
  • Status: STARTED

Build Information

Test Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-macro_Make-Dist

  • Build Num: 99
  • Status: STARTED
## Using Repos:
Repo: MACRO (gvoskuilen/sst-macro)
  • Branch: compile_fix
  • SHA: faaf8e2715c67c87b41baffe60e2e5c60006cc47
  • Mode: TEST_REPO
Repo: SQE (sstsimulator/sst-sqe)
  • Branch: devel
  • SHA: 8511e750279b560b871b00dcdcd418d1a792ecc4
  • Mode: SUPPORT_REPO
Repo: ELEMENTS (sstsimulator/sst-elements)
  • Branch: devel
  • SHA: d6244daf76f9abaa9e7ec3b2fb37ce1d7fc52a78
  • Mode: SUPPORT_REPO
Repo: CORE (sstsimulator/sst-core)
  • Branch: devel
  • SHA: c91f81eb08acdd3fa4f249acd55ac202870778b7
  • Mode: SUPPORT_REPO
Pull Request Author: gvoskuilen

sst-autotester commented 1 month ago

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: SST__AutotestGen2_NewFW_OSX-13.2-XC14-ARM_OMPI-4.1.4_PY3.10_sst-macro_nosstcore

  • Build Num: 20
  • Status: PASSED

Build Information

Test Name: SST__AutotestGen2_NewFW_OSX-13.2-XC14-ARM_OMPI-4.1.4_PY3.10_sst-macro_withsstcore

  • Build Num: 220
  • Status: PASSED

Build Information

Test Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-macro_nosstcore

  • Build Num: 100
  • Status: PASSED

Build Information

Test Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-macro_withsstcore

  • Build Num: 557
  • Status: PASSED

Build Information

Test Name: SST__AutotestGen2_NewFW_sst-test_OMPI-4.1.4_PY3.6_sst-macro_Make-Dist

  • Build Num: 99
  • Status: PASSED
sst-autotester commented 1 month ago

Status Flag 'Pre-Merge Inspection' - Auto Inspected - Inspection is Not Necessary for this Pull Request.

sst-autotester commented 1 month ago

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

sst-autotester commented 1 month ago

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

sst-autotester commented 1 month ago

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

sst-autotester commented 1 month ago

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

berquist commented 1 month ago

This doesn't work for me:

Making install in backends
Making install in common
make[4]: Nothing to be done for `install-exec-am'.
 /opt/homebrew/bin/gmkdir -p '/Users/ejberqu/development/sst/github/install_autotools_noflags_nodeps_nompi_clang/include/sstmac/backends/common'
 /usr/bin/install -p -m 644  sim_partition.h sim_partition_fwd.h parallel_runtime_fwd.h parallel_runtime.h '/Users/ejberqu/development/sst/github/install_autotools_noflags_nodeps_nompi_clang/include/sstmac/backends/common/.'
Making install in native
make[4]: Nothing to be done for `install-exec-am'.
 /opt/homebrew/bin/gmkdir -p '/Users/ejberqu/development/sst/github/install_autotools_noflags_nodeps_nompi_clang/include/sstmac/backends/native'
 /usr/bin/install -p -m 644  serial_runtime.h manager.h manager_fwd.h '/Users/ejberqu/development/sst/github/install_autotools_noflags_nodeps_nompi_clang/include/sstmac/backends/native/.'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in main
  CXX      sstmac.lo
  CXXLD    libsstmac_driver.la
ar: .libs/loadlib.o: No such file or directory
ar: .libs/util.o: No such file or directory
ar: .libs/help.o: No such file or directory
ar: .libs/valid_keywords.o: No such file or directory
ar: .libs/params.o: No such file or directory
ar: .libs/parseopts.o: No such file or directory
make[2]: *** [libsstmac_driver.la] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
DUMPI Configuration Summary:
---------------------------------------------------------------
Install prefix     /Users/ejberqu/development/sst/github/install_autotools_noflags_nodeps_nompi_clang
C compiler         /usr/bin/clang
C++ compiler       /usr/bin/clang++ -std=gnu++11
MAC SDK            no
CFLAGS             -g -O2
CXXFLAGS           -g -O2
CPPFLAGS
LDFLAGS
LIBS
OTF2 support       no
---------------------------------------------------------------

SST Macroscale Configuration Summary:
---------------------------------------------------------------
Install prefix     /Users/ejberqu/development/sst/github/install_autotools_noflags_nodeps_nompi_clang
OS
C compiler         /usr/bin/clang
C++ compiler       /usr/bin/clang++ -std=gnu++11
CFLAGS             -g -O2
CXXFLAGS           -g -O2  -std=c++11
CPPFLAGS
LDFLAGS
C++ Standard       11

User Space Threading:
  GNU Pth          no
  Pthread          yes
  Ucontext         no
  Fcontext         Auto-included

Parallel Discrete Event Simulation:
  MPI PDES         no
  Multithreaded    no
  Spinlock         no
  Thread Affinity  no

MAC SDK            no
SST Core           no
Python             /opt/homebrew/opt/python@3.12/Frameworks/Python.framework/Versions/3.12/bin/python3
Clang Autoskeleton no
OTF2 Replay        no
MPI Sync Stats     no
Call Graph Viz     no
Sanity Checking    no
VTK                no
---------------------------------------------------------------

macro.log

sst-autotester commented 1 month ago

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

gvoskuilen commented 1 month ago

This PR fixes a compile error about an empty #include in a generated file. Do you know if the error you get is caused by this PR or if it is something new?