accel-sim / accel-sim-framework

This is the top-level repository for the Accel-Sim framework.
https://accel-sim.github.io
Other
294 stars 114 forks source link

Replace Accel-Sim and GPGPU-Sim build system from Make to CMake #279

Open William-An opened 8 months ago

William-An commented 8 months ago

The current build system for Accel-Sim and GPGPU-Sim is based on Make, whose output and content are too messy and hard to read. Another issue with the current build system is that extra precautions are needed when adding new modules to the simulator. For instance, several variables like SIM_OBJ_FILES_DIR and compiler flags need to be manually passed down the makefiles in each subfolder. By changing to CMake, the weird build dependency bug in #115 can also be addressed.

Switching to CMake will enable the following features:

JRPan commented 8 months ago

Did you implement this already?

William-An commented 8 months ago

Nope, but planning to get it to work.

JRPan commented 6 months ago

Missing:

William-An commented 4 days ago

For this to mark complete, what are the remaining tasks? Besides documentation and the above two components compilation?

JRPan commented 4 days ago

well I guess you can just write docs and say:

if you want opencl and cuobjdump_to_ptxplus just use make

and write up how to use cmake.

tgrogers commented 3 days ago

Yeah, at this point, I don't know if anyone cares about OpenCL 1.0 or the SASS 1.3 ptxplus emulation. It's not worth maintaining the path for new code, just mention you can use make if you want to use these older modes.

On Thu, Oct 3, 2024 at 6:59 PM JRPan @.***> wrote:

well I guess you can just write docs and say:

if you want opencl and cuobjdump_to_ptxplus just use make

and write up how to use cmake.

— Reply to this email directly, view it on GitHub https://github.com/accel-sim/accel-sim-framework/issues/279#issuecomment-2392478732, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7UY4IJAHONKEX6X2UW6QTZZXD33AVCNFSM6AAAAABC4HSXC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSGQ3TQNZTGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>