<div>My ASDF system depends on some external systems, e.g. clsql-mysql. I want to compile these external systems with particular optimization settings so I have, in my ASD file:</div><div><br></div><div> ;;; When compiling external systems (and by default), use these optimization settings:</div>
<div> (declaim (optimize (compilation-speed 0) (speed 3) (safety 1) (debug 0) (space 0)))</div><div> </div><div> (defsystem :my-system</div><div> :depends-on (:clsql-mysql ...)</div><div> ...</div><div> )</div><div>
<br></div><div>Unfortunately, the compilation of clsql-mysql at these optimization settings produces some SBCL optimization notes that I want to muffle. Is it possible to muffle the warnings for just clsql-mysql but not for my-system? I suspect that there is some way to use an :around or :before method to control the compilation of external systems, but I could not figure this out from the ASDF manual.</div>
<div><br></div><div>TIA</div>